org.bouncycastle.cms
Class DefaultSignedAttributeTableGenerator
java.lang.Object
org.bouncycastle.cms.DefaultSignedAttributeTableGenerator
- CMSAttributeTableGenerator
public class DefaultSignedAttributeTableGenerator
extends java.lang.Object
Default signed attributes generator.
protected Hashtable | createStandardAttributeTable(Map parameters) - Create a standard attribute table from the passed in parameters - this will
normally include contentType, signingTime, and messageDigest.
|
AttributeTable | getAttributes(Map parameters)
|
DefaultSignedAttributeTableGenerator
public DefaultSignedAttributeTableGenerator()
Initialise to use all defaults
DefaultSignedAttributeTableGenerator
public DefaultSignedAttributeTableGenerator(AttributeTable attributeTable)
Initialise with some extra attributes or overrides.
attributeTable
- initial attribute table to use.
createStandardAttributeTable
protected Hashtable createStandardAttributeTable(Map parameters)
Create a standard attribute table from the passed in parameters - this will
normally include contentType, signingTime, and messageDigest. If the constructor
using an AttributeTable was used, entries in it for contentType, signingTime, and
messageDigest will override the generated ones.
parameters
- source parameters for table generation.
- a filled in Hashtable of attributes.