Class DefaultAuthenticatedAttributeTableGenerator

    • Constructor Detail

      • DefaultAuthenticatedAttributeTableGenerator

        public DefaultAuthenticatedAttributeTableGenerator()
        Initialise to use all defaults
      • DefaultAuthenticatedAttributeTableGenerator

        public DefaultAuthenticatedAttributeTableGenerator​(org.bouncycastle.asn1.cms.AttributeTable attributeTable)
        Initialise with some extra attributes or overrides.
        Parameters:
        attributeTable - initial attribute table to use.
    • Method Detail

      • createStandardAttributeTable

        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. If the constructor using an AttributeTable was used, entries in it for contentType and messageDigest will override the generated ones.
        Parameters:
        parameters - source parameters for table generation.
        Returns:
        a filled in Hashtable of attributes.
      • getAttributes

        public org.bouncycastle.asn1.cms.AttributeTable getAttributes​(java.util.Map parameters)
        Specified by:
        getAttributes in interface CMSAttributeTableGenerator
        Parameters:
        parameters - source parameters
        Returns:
        the populated attribute table