Package org.bouncycastle.cms
Class CMSAuthEnvelopedGenerator
- java.lang.Object
 - 
- org.bouncycastle.cms.CMSEnvelopedGenerator
 - 
- org.bouncycastle.cms.CMSAuthEnvelopedGenerator
 
 
 
- 
- Direct Known Subclasses:
 CMSAuthEnvelopedDataGenerator
public class CMSAuthEnvelopedGenerator extends CMSEnvelopedGenerator
General class for generating a CMS enveloped-data message. 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected CMSAttributeTableGeneratorauthAttrsGeneratorprotected org.bouncycastle.asn1.cms.OriginatorInfooriginatorInfoprotected CMSAttributeTableGeneratorunauthAttrsGenerator- 
Fields inherited from class org.bouncycastle.cms.CMSEnvelopedGenerator
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, IDEA_CBC, RC2_CBC, SEED_CBC, SEED_WRAP, unprotectedAttributeGenerator 
 - 
 
- 
Constructor Summary
Constructors Modifier Constructor Description protectedCMSAuthEnvelopedGenerator()base constructor 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddRecipientInfoGenerator(RecipientInfoGenerator recipientGenerator)Add a generator to produce the recipient info required.voidsetAuthenticatedAttributeGenerator(CMSAttributeTableGenerator protectedAttributeGenerator)voidsetOriginatorInfo(OriginatorInformation originatorInfo)voidsetUnauthenticatedAttributeGenerator(CMSAttributeTableGenerator unauthenticatedAttributeGenerator)- 
Methods inherited from class org.bouncycastle.cms.CMSEnvelopedGenerator
setUnprotectedAttributeGenerator 
 - 
 
 - 
 
- 
- 
Field Detail
- 
authAttrsGenerator
protected CMSAttributeTableGenerator authAttrsGenerator
 
- 
unauthAttrsGenerator
protected CMSAttributeTableGenerator unauthAttrsGenerator
 
- 
originatorInfo
protected org.bouncycastle.asn1.cms.OriginatorInfo originatorInfo
 
 - 
 
- 
Method Detail
- 
setAuthenticatedAttributeGenerator
public void setAuthenticatedAttributeGenerator(CMSAttributeTableGenerator protectedAttributeGenerator)
 
- 
setUnauthenticatedAttributeGenerator
public void setUnauthenticatedAttributeGenerator(CMSAttributeTableGenerator unauthenticatedAttributeGenerator)
 
- 
setOriginatorInfo
public void setOriginatorInfo(OriginatorInformation originatorInfo)
- Overrides:
 setOriginatorInfoin classCMSEnvelopedGenerator
 
- 
addRecipientInfoGenerator
public void addRecipientInfoGenerator(RecipientInfoGenerator recipientGenerator)
Add a generator to produce the recipient info required.- Overrides:
 addRecipientInfoGeneratorin classCMSEnvelopedGenerator- Parameters:
 recipientGenerator- a generator of a recipient info object.
 
 - 
 
 -