Bouncy Castle Cryptography Library 1.84

org.bouncycastle.cms
Class CMSAuthEnvelopedGenerator

java.lang.Object
  extended byorg.bouncycastle.cms.CMSEnvelopedGenerator
      extended byorg.bouncycastle.cms.CMSAuthEnvelopedGenerator
Direct Known Subclasses:
CMSAuthEnvelopedDataGenerator, CMSAuthEnvelopedDataStreamGenerator

public class CMSAuthEnvelopedGenerator
extends CMSEnvelopedGenerator

General class for generating a CMS enveloped-data message.


Field Summary
static java.lang.String AES128_CCM
           
static java.lang.String AES128_GCM
           
static java.lang.String AES192_CCM
           
static java.lang.String AES192_GCM
           
static java.lang.String AES256_CCM
           
static java.lang.String AES256_GCM
           
protected  CMSAttributeTableGenerator authAttrsGenerator
           
static java.lang.String ChaCha20Poly1305
           
protected  org.bouncycastle.asn1.cms.OriginatorInfo originatorInfo
           
protected  CMSAttributeTableGenerator unauthAttrsGenerator
           
 
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
protected CMSAuthEnvelopedGenerator()
          base constructor
 
Method Summary
 void setAuthenticatedAttributeGenerator(CMSAttributeTableGenerator protectedAttributeGenerator)
           
 void setOriginatorInfo(OriginatorInformation originatorInfo)
           
 void setUnauthenticatedAttributeGenerator(CMSAttributeTableGenerator unauthenticatedAttributeGenerator)
           
 
Methods inherited from class org.bouncycastle.cms.CMSEnvelopedGenerator
addRecipientInfoGenerator, setUnprotectedAttributeGenerator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AES128_CCM

public static final java.lang.String AES128_CCM

AES192_CCM

public static final java.lang.String AES192_CCM

AES256_CCM

public static final java.lang.String AES256_CCM

AES128_GCM

public static final java.lang.String AES128_GCM

AES192_GCM

public static final java.lang.String AES192_GCM

AES256_GCM

public static final java.lang.String AES256_GCM

ChaCha20Poly1305

public static final java.lang.String ChaCha20Poly1305

authAttrsGenerator

protected CMSAttributeTableGenerator authAttrsGenerator

unauthAttrsGenerator

protected CMSAttributeTableGenerator unauthAttrsGenerator

originatorInfo

protected org.bouncycastle.asn1.cms.OriginatorInfo originatorInfo
Constructor Detail

CMSAuthEnvelopedGenerator

protected CMSAuthEnvelopedGenerator()
base constructor

Method Detail

setAuthenticatedAttributeGenerator

public void setAuthenticatedAttributeGenerator(CMSAttributeTableGenerator protectedAttributeGenerator)

setUnauthenticatedAttributeGenerator

public void setUnauthenticatedAttributeGenerator(CMSAttributeTableGenerator unauthenticatedAttributeGenerator)

setOriginatorInfo

public void setOriginatorInfo(OriginatorInformation originatorInfo)
Overrides:
setOriginatorInfo in class CMSEnvelopedGenerator

Bouncy Castle Cryptography Library 1.84