CMSAuthenticatedDataGenerator
, CMSAuthenticatedDataStreamGenerator
public class CMSAuthenticatedGenerator extends CMSEnvelopedGenerator
Modifier and Type | Field | Description |
---|---|---|
protected CMSAttributeTableGenerator |
authGen |
|
protected CMSAttributeTableGenerator |
unauthGen |
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, originatorInfo, RC2_CBC, SEED_CBC, SEED_WRAP, unprotectedAttributeGenerator
Constructor | Description |
---|---|
CMSAuthenticatedGenerator() |
base constructor
|
Modifier and Type | Method | Description |
---|---|---|
protected java.util.Map |
getBaseParameters(org.bouncycastle.asn1.ASN1ObjectIdentifier contentType,
org.bouncycastle.asn1.x509.AlgorithmIdentifier digAlgId,
org.bouncycastle.asn1.x509.AlgorithmIdentifier macAlgId,
byte[] hash) |
|
void |
setAuthenticatedAttributeGenerator(CMSAttributeTableGenerator authGen) |
|
void |
setUnauthenticatedAttributeGenerator(CMSAttributeTableGenerator unauthGen) |
addRecipientInfoGenerator, setOriginatorInfo, setUnprotectedAttributeGenerator
protected CMSAttributeTableGenerator authGen
protected CMSAttributeTableGenerator unauthGen
public void setAuthenticatedAttributeGenerator(CMSAttributeTableGenerator authGen)
public void setUnauthenticatedAttributeGenerator(CMSAttributeTableGenerator unauthGen)
protected java.util.Map getBaseParameters(org.bouncycastle.asn1.ASN1ObjectIdentifier contentType, org.bouncycastle.asn1.x509.AlgorithmIdentifier digAlgId, org.bouncycastle.asn1.x509.AlgorithmIdentifier macAlgId, byte[] hash)