public class

DefaultSignedAttributeTableGenerator

extends Object
implements CMSAttributeTableGenerator
java.lang.Object
   ↳ org.bouncycastle.cms.DefaultSignedAttributeTableGenerator

Class Overview

Default signed attributes generator.

Summary

[Expand]
Inherited Constants
From interface org.bouncycastle.cms.CMSAttributeTableGenerator
Public Constructors
DefaultSignedAttributeTableGenerator()
Initialise to use all defaults
DefaultSignedAttributeTableGenerator(AttributeTable attributeTable)
Initialise with some extra attributes or overrides.
Public Methods
AttributeTable getAttributes(Map parameters)
Protected Methods
Hashtable createStandardAttributeTable(Map parameters)
Create a standard attribute table from the passed in parameters - this will normally include contentType, signingTime, and messageDigest.
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.bouncycastle.cms.CMSAttributeTableGenerator

Public Constructors

public DefaultSignedAttributeTableGenerator ()

Initialise to use all defaults

public DefaultSignedAttributeTableGenerator (AttributeTable attributeTable)

Initialise with some extra attributes or overrides.

Parameters
attributeTable initial attribute table to use.

Public Methods

public AttributeTable getAttributes (Map parameters)

Parameters
parameters source parameters
Returns
  • the populated attribute table

Protected Methods

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
parameters source parameters for table generation.
Returns
  • a filled in Hashtable of attributes.