1 package org.bouncycastle.cms; 2 3 import org.bouncycastle.asn1.cms.AttributeTable; 4 5 import java.util.Map; 6 7 /** 8 * Note: The SIGNATURE parameter is only available when generating unsigned attributes. 9 */ 10 public interface CMSAttributeTableGenerator 11 { 12 static final String CONTENT_TYPE = "contentType"; 13 static final String DIGEST = "digest"; 14 static final String SIGNATURE = "encryptedDigest"; 15 static final String DIGEST_ALGORITHM_IDENTIFIER = "digestAlgID"; 16 17 AttributeTable getAttributes(Map parameters) 18 throws CMSAttributeTableGenerationException; 19 } 20