1package org.bouncycastle.cms;
2
3import org.bouncycastle.asn1.cms.AttributeTable;
4
5import java.util.Map;
6
7/**
8 * Note: The SIGNATURE parameter is only available when generating unsigned attributes.
9 */
10public 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