From 9bab0edd9cb94825157ce9d491e3474ebb7d6afd Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Mon, 20 Mar 2017 09:50:52 -0400 Subject: Refs #3461 -- added the OID for the SCT x.509 extension (#3464) * Refs #3461 -- added the OID for the SCT x.509 extension * Version added --- docs/x509/reference.rst | 6 ++++++ src/cryptography/x509/oid.py | 3 +++ 2 files changed, 9 insertions(+) diff --git a/docs/x509/reference.rst b/docs/x509/reference.rst index 1823231f..1177dba4 100644 --- a/docs/x509/reference.rst +++ b/docs/x509/reference.rst @@ -2605,6 +2605,12 @@ instances. The following common OIDs are available as constants. the ``CRLNumber`` extension type. This extension only has meaning for certificate revocation lists. + .. attribute:: PRECERT_SIGNED_CERTIFICATE_TIMESTAMPS + + .. versionadded:: 1.9 + + Corresponds to the dotted string ``"1.3.6.1.4.1.11129.2.4.2"``. + .. attribute:: POLICY_CONSTRAINTS Corresponds to the dotted string ``"2.5.29.36"``. The identifier for the diff --git a/src/cryptography/x509/oid.py b/src/cryptography/x509/oid.py index 3edac72e..1beed0f9 100644 --- a/src/cryptography/x509/oid.py +++ b/src/cryptography/x509/oid.py @@ -86,6 +86,9 @@ class ExtensionOID(object): SUBJECT_INFORMATION_ACCESS = ObjectIdentifier("1.3.6.1.5.5.7.1.11") OCSP_NO_CHECK = ObjectIdentifier("1.3.6.1.5.5.7.48.1.5") CRL_NUMBER = ObjectIdentifier("2.5.29.20") + PRECERT_SIGNED_CERTIFICATE_TIMESTAMPS = ( + ObjectIdentifier("1.3.6.1.4.1.11129.2.4.2") + ) class CRLEntryExtensionOID(object): -- cgit v1.2.3