001package org.apache.commons.ssl.org.bouncycastle.asn1.cms; 002 003import org.apache.commons.ssl.org.bouncycastle.asn1.ASN1ObjectIdentifier; 004import org.apache.commons.ssl.org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers; 005 006/** 007 * <a href="http://tools.ietf.org/html/rfc5652">RFC 5652</a> CMS attribute OID constants. 008 * <pre> 009 * contentType ::= 1.2.840.113549.1.9.3 010 * messageDigest ::= 1.2.840.113549.1.9.4 011 * signingTime ::= 1.2.840.113549.1.9.5 012 * counterSignature ::= 1.2.840.113549.1.9.6 013 * 014 * contentHint ::= 1.2.840.113549.1.9.16.2.4 015 * </pre> 016 */ 017 018public interface CMSAttributes 019{ 020 /** PKCS#9: 1.2.840.113549.1.9.3 */ 021 public static final ASN1ObjectIdentifier contentType = PKCSObjectIdentifiers.pkcs_9_at_contentType; 022 /** PKCS#9: 1.2.840.113549.1.9.4 */ 023 public static final ASN1ObjectIdentifier messageDigest = PKCSObjectIdentifiers.pkcs_9_at_messageDigest; 024 /** PKCS#9: 1.2.840.113549.1.9.5 */ 025 public static final ASN1ObjectIdentifier signingTime = PKCSObjectIdentifiers.pkcs_9_at_signingTime; 026 /** PKCS#9: 1.2.840.113549.1.9.6 */ 027 public static final ASN1ObjectIdentifier counterSignature = PKCSObjectIdentifiers.pkcs_9_at_counterSignature; 028 /** PKCS#9: 1.2.840.113549.1.9.16.6.2.4 - See <a href="http://tools.ietf.org/html/rfc2634">RFC 2634</a> */ 029 public static final ASN1ObjectIdentifier contentHint = PKCSObjectIdentifiers.id_aa_contentHint; 030}