org.bouncycastle.asn1.cms.CMSAttributes Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bcutil-jdk15on Show documentation
Show all versions of bcutil-jdk15on Show documentation
The Bouncy Castle Java APIs for ASN.1 extension and utility APIs used to support bcpkix and bctls. This jar contains APIs for JDK 1.5 and up.
The newest version!
package org.bouncycastle.asn1.cms;
import org.bouncycastle.asn1.ASN1ObjectIdentifier;
import org.bouncycastle.asn1.pkcs.PKCSObjectIdentifiers;
/**
* RFC 5652 CMS attribute OID constants,
* RFC 6019 Binary Time,
* and RFC 6211 Algorithm Identifier Protection Attribute.
*
* contentType ::= 1.2.840.113549.1.9.3
* messageDigest ::= 1.2.840.113549.1.9.4
* signingTime ::= 1.2.840.113549.1.9.5
* counterSignature ::= 1.2.840.113549.1.9.6
*
* binarySigningTime ::= 1.2.840.113549.1.9.16.2.46
*
* contentHint ::= 1.2.840.113549.1.9.16.2.4
* cmsAlgorithmProtect := 1.2.840.113549.1.9.52
*
*/
public interface CMSAttributes
{
/** PKCS#9: 1.2.840.113549.1.9.3 */
ASN1ObjectIdentifier contentType = PKCSObjectIdentifiers.pkcs_9_at_contentType;
/** PKCS#9: 1.2.840.113549.1.9.4 */
ASN1ObjectIdentifier messageDigest = PKCSObjectIdentifiers.pkcs_9_at_messageDigest;
/** PKCS#9: 1.2.840.113549.1.9.5 */
ASN1ObjectIdentifier signingTime = PKCSObjectIdentifiers.pkcs_9_at_signingTime;
/** PKCS#9: 1.2.840.113549.1.9.6 */
ASN1ObjectIdentifier counterSignature = PKCSObjectIdentifiers.pkcs_9_at_counterSignature;
/** PKCS#9: 1.2.840.113549.1.9.16.2.46 */
ASN1ObjectIdentifier binarySigningTime = PKCSObjectIdentifiers.pkcs_9_at_binarySigningTime;
/** PKCS#9: 1.2.840.113549.1.9.16.6.2.4 - See RFC 2634 */
ASN1ObjectIdentifier contentHint = PKCSObjectIdentifiers.id_aa_contentHint;
ASN1ObjectIdentifier cmsAlgorithmProtect = PKCSObjectIdentifiers.id_aa_cmsAlgorithmProtect;
}