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