SignCore.CMS.OIDs (sign_core v0.1.0)

Copy Markdown View Source

Well-known ASN.1 object identifiers used by CMS / PKCS#7 / PKCS#9.

All OIDs are returned as the tuple form OTP's ASN.1 runtime expects (e.g., {1, 2, 840, 113549, 1, 7, 2} for id-signedData).

Centralising these prevents mistyping and gives one place to look up the dotted-decimal form a verifier might log.

Summary

Functions

id-aa-signatureTimeStampToken PKCS#9/SMIME attribute — RFC 3161 §3.3.4.

id-contentType PKCS#9 attribute — RFC 5652 §11.1.

id-data — RFC 5652 §4.

id-messageDigest PKCS#9 attribute — RFC 5652 §11.2.

RSASSA-PSS signature algorithm OID — RFC 4056.

SHA-256 digest algorithm OID.

sha256WithRSAEncryption (RSA PKCS#1 v1.5 + SHA-256).

SHA-384 digest algorithm OID.

SHA-512 digest algorithm OID.

id-signedData — RFC 5652 §5.1.

id-signingTime PKCS#9 attribute — RFC 5652 §11.3.

Functions

id_aa_signature_timestamp()

id-aa-signatureTimeStampToken PKCS#9/SMIME attribute — RFC 3161 §3.3.4.

id_content_type()

id-contentType PKCS#9 attribute — RFC 5652 §11.1.

id_data()

id-data — RFC 5652 §4.

id_message_digest()

id-messageDigest PKCS#9 attribute — RFC 5652 §11.2.

id_rsassa_pss()

RSASSA-PSS signature algorithm OID — RFC 4056.

id_sha256()

SHA-256 digest algorithm OID.

id_sha256_with_rsa()

sha256WithRSAEncryption (RSA PKCS#1 v1.5 + SHA-256).

id_sha384()

SHA-384 digest algorithm OID.

id_sha512()

SHA-512 digest algorithm OID.

id_signed_data()

id-signedData — RFC 5652 §5.1.

id_signing_time()

id-signingTime PKCS#9 attribute — RFC 5652 §11.3.