public class DefaultAuthenticatedAttributeTableGenerator extends java.lang.Object implements CMSAttributeTableGenerator
CONTENT_TYPE, DIGEST, DIGEST_ALGORITHM_IDENTIFIER, MAC_ALGORITHM_IDENTIFIER, SIGNATURE, SIGNATURE_ALGORITHM_IDENTIFIER
Constructor and Description |
---|
DefaultAuthenticatedAttributeTableGenerator()
Initialise to use all defaults
|
DefaultAuthenticatedAttributeTableGenerator(org.bouncycastle.asn1.cms.AttributeTable attributeTable)
Initialise with some extra attributes or overrides.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.Hashtable |
createStandardAttributeTable(java.util.Map parameters)
Create a standard attribute table from the passed in parameters - this will
normally include contentType and messageDigest.
|
org.bouncycastle.asn1.cms.AttributeTable |
getAttributes(java.util.Map parameters) |
public DefaultAuthenticatedAttributeTableGenerator()
public DefaultAuthenticatedAttributeTableGenerator(org.bouncycastle.asn1.cms.AttributeTable attributeTable)
attributeTable
- initial attribute table to use.protected java.util.Hashtable createStandardAttributeTable(java.util.Map parameters)
parameters
- source parameters for table generation.public org.bouncycastle.asn1.cms.AttributeTable getAttributes(java.util.Map parameters)
getAttributes
in interface CMSAttributeTableGenerator
parameters
- source parameters