CMSAttributes.java revision 5db505e1f6a68c8d5dfdb0fed0b8607dea7bed96
1package org.bouncycastle.asn1.cms; 2 3import org.bouncycastle.asn1.ASN1ObjectIdentifier; 4import org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers; 5 6/** 7 * <a href="http://tools.ietf.org/html/rfc5652">RFC 5652</a> CMS attribute OID constants. 8 * <pre> 9 * contentType ::= 1.2.840.113549.1.9.3 10 * messageDigest ::= 1.2.840.113549.1.9.4 11 * signingTime ::= 1.2.840.113549.1.9.5 12 * counterSignature ::= 1.2.840.113549.1.9.6 13 * 14 * contentHint ::= 1.2.840.113549.1.9.16.2.4 15 * </pre> 16 */ 17 18public interface CMSAttributes 19{ 20 /** PKCS#9: 1.2.840.113549.1.9.3 */ 21 public static final ASN1ObjectIdentifier contentType = PKCSObjectIdentifiers.pkcs_9_at_contentType; 22 /** PKCS#9: 1.2.840.113549.1.9.4 */ 23 public static final ASN1ObjectIdentifier messageDigest = PKCSObjectIdentifiers.pkcs_9_at_messageDigest; 24 /** PKCS#9: 1.2.840.113549.1.9.5 */ 25 public static final ASN1ObjectIdentifier signingTime = PKCSObjectIdentifiers.pkcs_9_at_signingTime; 26 /** PKCS#9: 1.2.840.113549.1.9.6 */ 27 public static final ASN1ObjectIdentifier counterSignature = PKCSObjectIdentifiers.pkcs_9_at_counterSignature; 28 /** PKCS#9: 1.2.840.113549.1.9.16.6.2.4 - See <a href="http://tools.ietf.org/html/rfc2634">RFC 2634</a> */ 29 public static final ASN1ObjectIdentifier contentHint = PKCSObjectIdentifiers.id_aa_contentHint; 30} 31