public class CMSAuthEnvelopedGenerator extends CMSEnvelopedGenerator
Modifier and Type | Field and Description |
---|---|
protected CMSAttributeTableGenerator |
authAttrsGenerator |
protected org.bouncycastle.asn1.cms.OriginatorInfo |
originatorInfo |
protected CMSAttributeTableGenerator |
unauthAttrsGenerator |
AES128_CBC, AES128_WRAP, AES192_CBC, AES192_WRAP, AES256_CBC, AES256_WRAP, CAMELLIA128_CBC, CAMELLIA128_WRAP, CAMELLIA192_CBC, CAMELLIA192_WRAP, CAMELLIA256_CBC, CAMELLIA256_WRAP, CAST5_CBC, DES_EDE3_CBC, DES_EDE3_WRAP, ECDH_SHA1KDF, ECMQV_SHA1KDF, ECMQV_SHA224KDF, ECMQV_SHA256KDF, ECMQV_SHA384KDF, ECMQV_SHA512KDF, IDEA_CBC, RC2_CBC, SEED_CBC, SEED_WRAP, unprotectedAttributeGenerator
Modifier | Constructor and Description |
---|---|
protected |
CMSAuthEnvelopedGenerator()
base constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addRecipientInfoGenerator(RecipientInfoGenerator recipientGenerator)
Add a generator to produce the recipient info required.
|
void |
setAuthenticatedAttributeGenerator(CMSAttributeTableGenerator protectedAttributeGenerator) |
void |
setOriginatorInfo(OriginatorInformation originatorInfo) |
void |
setUnauthenticatedAttributeGenerator(CMSAttributeTableGenerator unauthenticatedAttributeGenerator) |
setUnprotectedAttributeGenerator
protected CMSAttributeTableGenerator authAttrsGenerator
protected CMSAttributeTableGenerator unauthAttrsGenerator
protected org.bouncycastle.asn1.cms.OriginatorInfo originatorInfo
public void setAuthenticatedAttributeGenerator(CMSAttributeTableGenerator protectedAttributeGenerator)
public void setUnauthenticatedAttributeGenerator(CMSAttributeTableGenerator unauthenticatedAttributeGenerator)
public void setOriginatorInfo(OriginatorInformation originatorInfo)
setOriginatorInfo
in class CMSEnvelopedGenerator
public void addRecipientInfoGenerator(RecipientInfoGenerator recipientGenerator)
addRecipientInfoGenerator
in class CMSEnvelopedGenerator
recipientGenerator
- a generator of a recipient info object.