01: package org.bouncycastle.cms;
02:
03: import org.bouncycastle.asn1.cms.AttributeTable;
04:
05: import java.util.Map;
06:
07: /**
08: * Note: The SIGNATURE parameter is only available when generating unsigned attributes.
09: */
10: public interface CMSAttributeTableGenerator {
11: static final String CONTENT_TYPE = "contentType";
12: static final String DIGEST = "digest";
13: static final String SIGNATURE = "encryptedDigest";
14: static final String DIGEST_ALGORITHM_IDENTIFIER = "digestAlgID";
15:
16: AttributeTable getAttributes(Map parameters)
17: throws CMSAttributeTableGenerationException;
18: }
|