public class

CMSAuthenticatedGenerator

extends CMSEnvelopedGenerator
java.lang.Object
   ↳ org.bouncycastle.cms.CMSEnvelopedGenerator
     ↳ org.bouncycastle.cms.CMSAuthenticatedGenerator
Known Direct Subclasses

Summary

[Expand]
Inherited Constants
From class org.bouncycastle.cms.CMSEnvelopedGenerator
Fields
protected CMSAttributeTableGenerator authGen
protected CMSAttributeTableGenerator unauthGen
[Expand]
Inherited Fields
From class org.bouncycastle.cms.CMSEnvelopedGenerator
Public Constructors
CMSAuthenticatedGenerator()
base constructor
CMSAuthenticatedGenerator(SecureRandom rand)
constructor allowing specific source of randomness
Public Methods
void setAuthenticatedAttributeGenerator(CMSAttributeTableGenerator authGen)
void setUnauthenticatedAttributeGenerator(CMSAttributeTableGenerator unauthGen)
Protected Methods
AlgorithmParameterSpec generateParameterSpec(String encryptionOID, SecretKey encKey, Provider encProvider)
AlgorithmIdentifier getAlgorithmIdentifier(String encryptionOID, AlgorithmParameterSpec paramSpec, Provider provider)
Map getBaseParameters(DERObjectIdentifier contentType, AlgorithmIdentifier digAlgId, byte[] hash)
[Expand]
Inherited Methods
From class org.bouncycastle.cms.CMSEnvelopedGenerator
From class java.lang.Object

Fields

protected CMSAttributeTableGenerator authGen

protected CMSAttributeTableGenerator unauthGen

Public Constructors

public CMSAuthenticatedGenerator ()

base constructor

public CMSAuthenticatedGenerator (SecureRandom rand)

constructor allowing specific source of randomness

Parameters
rand instance of SecureRandom to use

Public Methods

public void setAuthenticatedAttributeGenerator (CMSAttributeTableGenerator authGen)

public void setUnauthenticatedAttributeGenerator (CMSAttributeTableGenerator unauthGen)

Protected Methods

protected AlgorithmParameterSpec generateParameterSpec (String encryptionOID, SecretKey encKey, Provider encProvider)

Throws
CMSException

protected AlgorithmIdentifier getAlgorithmIdentifier (String encryptionOID, AlgorithmParameterSpec paramSpec, Provider provider)

protected Map getBaseParameters (DERObjectIdentifier contentType, AlgorithmIdentifier digAlgId, byte[] hash)