• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 package org.bouncycastle.asn1.cms;
2 
3 import org.bouncycastle.asn1.ASN1ObjectIdentifier;
4 import org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers;
5 
6 /**
7  * <a href="http://tools.ietf.org/html/rfc5652">RFC 5652</a> CMS attribute OID constants.
8  * and <a href="http://tools.ietf.org/html/rfc6211">RFC 6211</a> Algorithm Identifier Protection Attribute.
9  * <pre>
10  * contentType      ::= 1.2.840.113549.1.9.3
11  * messageDigest    ::= 1.2.840.113549.1.9.4
12  * signingTime      ::= 1.2.840.113549.1.9.5
13  * counterSignature ::= 1.2.840.113549.1.9.6
14  *
15  * contentHint      ::= 1.2.840.113549.1.9.16.2.4
16  * cmsAlgorithmProtect := 1.2.840.113549.1.9.52
17  * </pre>
18  */
19 
20 public interface CMSAttributes
21 {
22     /** PKCS#9: 1.2.840.113549.1.9.3 */
23     public static final ASN1ObjectIdentifier  contentType = PKCSObjectIdentifiers.pkcs_9_at_contentType;
24     /** PKCS#9: 1.2.840.113549.1.9.4 */
25     public static final ASN1ObjectIdentifier  messageDigest = PKCSObjectIdentifiers.pkcs_9_at_messageDigest;
26     /** PKCS#9: 1.2.840.113549.1.9.5 */
27     public static final ASN1ObjectIdentifier  signingTime = PKCSObjectIdentifiers.pkcs_9_at_signingTime;
28     /** PKCS#9: 1.2.840.113549.1.9.6 */
29     public static final ASN1ObjectIdentifier  counterSignature = PKCSObjectIdentifiers.pkcs_9_at_counterSignature;
30     /** PKCS#9: 1.2.840.113549.1.9.16.6.2.4 - See <a href="http://tools.ietf.org/html/rfc2634">RFC 2634</a> */
31     public static final ASN1ObjectIdentifier  contentHint = PKCSObjectIdentifiers.id_aa_contentHint;
32 
33     public static final ASN1ObjectIdentifier  cmsAlgorithmProtect = PKCSObjectIdentifiers.id_aa_cmsAlgorithmProtect;
34 
35 }
36