Package org.bouncycastle.cms
Class CMSAuthEnvelopedGenerator
java.lang.Object
org.bouncycastle.cms.CMSEnvelopedGenerator
org.bouncycastle.cms.CMSAuthEnvelopedGenerator
- Direct Known Subclasses:
CMSAuthEnvelopedDataGenerator
,CMSAuthEnvelopedDataStreamGenerator
General class for generating a CMS enveloped-data message.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static final String
static final String
protected CMSAttributeTableGenerator
protected org.bouncycastle.asn1.cms.OriginatorInfo
protected CMSAttributeTableGenerator
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, ECMQV_SHA224KDF, ECMQV_SHA256KDF, ECMQV_SHA384KDF, ECMQV_SHA512KDF, IDEA_CBC, RC2_CBC, SEED_CBC, SEED_WRAP, unprotectedAttributeGenerator
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addRecipientInfoGenerator
(RecipientInfoGenerator recipientGenerator) Add a generator to produce the recipient info required.void
setAuthenticatedAttributeGenerator
(CMSAttributeTableGenerator protectedAttributeGenerator) void
setOriginatorInfo
(OriginatorInformation originatorInfo) void
setUnauthenticatedAttributeGenerator
(CMSAttributeTableGenerator unauthenticatedAttributeGenerator) Methods inherited from class org.bouncycastle.cms.CMSEnvelopedGenerator
setUnprotectedAttributeGenerator
-
Field Details
-
AES128_GCM
-
AES192_GCM
-
AES256_GCM
-
authAttrsGenerator
-
unauthAttrsGenerator
-
originatorInfo
protected org.bouncycastle.asn1.cms.OriginatorInfo originatorInfo
-
-
Constructor Details
-
CMSAuthEnvelopedGenerator
protected CMSAuthEnvelopedGenerator()base constructor
-
-
Method Details
-
setAuthenticatedAttributeGenerator
public void setAuthenticatedAttributeGenerator(CMSAttributeTableGenerator protectedAttributeGenerator) -
setUnauthenticatedAttributeGenerator
public void setUnauthenticatedAttributeGenerator(CMSAttributeTableGenerator unauthenticatedAttributeGenerator) -
setOriginatorInfo
- Overrides:
setOriginatorInfo
in classCMSEnvelopedGenerator
-
addRecipientInfoGenerator
Add a generator to produce the recipient info required.- Overrides:
addRecipientInfoGenerator
in classCMSEnvelopedGenerator
- Parameters:
recipientGenerator
- a generator of a recipient info object.
-