diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2018-10-29 02:07:40 +0800 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2018-10-28 14:07:40 -0400 |
commit | 6e756aec9c91a8350208050b0a3775ea63891cfd (patch) | |
tree | a7935c780198a0bd2921f39188b65f28e580d5c9 | |
parent | 80a0ab454f4e6a8a76ac9d45481522bcc22535c7 (diff) | |
download | cryptography-6e756aec9c91a8350208050b0a3775ea63891cfd.tar.gz cryptography-6e756aec9c91a8350208050b0a3775ea63891cfd.tar.bz2 cryptography-6e756aec9c91a8350208050b0a3775ea63891cfd.zip |
add IDP OID and docs (#4533)
-rw-r--r-- | docs/x509/reference.rst | 6 | ||||
-rw-r--r-- | src/cryptography/x509/oid.py | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/docs/x509/reference.rst b/docs/x509/reference.rst index 07a692a8..5e814916 100644 --- a/docs/x509/reference.rst +++ b/docs/x509/reference.rst @@ -2934,6 +2934,12 @@ instances. The following common OIDs are available as constants. Corresponds to the dotted string ``"2.5.29.46"``. The identifier for the :class:`~cryptography.x509.FreshestCRL` extension type. + .. attribute:: ISSUING_DISTRIBUTION_POINT + + .. versionadded:: 2.4 + + Corresponds to the dotted string ``"2.5.29.28"``. + .. class:: CRLEntryExtensionOID diff --git a/src/cryptography/x509/oid.py b/src/cryptography/x509/oid.py index bc654640..d121a807 100644 --- a/src/cryptography/x509/oid.py +++ b/src/cryptography/x509/oid.py @@ -82,6 +82,7 @@ class ExtensionOID(object): EXTENDED_KEY_USAGE = ObjectIdentifier("2.5.29.37") FRESHEST_CRL = ObjectIdentifier("2.5.29.46") INHIBIT_ANY_POLICY = ObjectIdentifier("2.5.29.54") + ISSUING_DISTRIBUTION_POINT = ObjectIdentifier("2.5.29.28") AUTHORITY_INFORMATION_ACCESS = ObjectIdentifier("1.3.6.1.5.5.7.1.1") 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") @@ -265,6 +266,9 @@ _OID_NAMES = { ExtensionOID.EXTENDED_KEY_USAGE: "extendedKeyUsage", ExtensionOID.FRESHEST_CRL: "freshestCRL", ExtensionOID.INHIBIT_ANY_POLICY: "inhibitAnyPolicy", + ExtensionOID.ISSUING_DISTRIBUTION_POINT: ( + "issuingDistributionPoint" + ), ExtensionOID.AUTHORITY_INFORMATION_ACCESS: "authorityInfoAccess", ExtensionOID.SUBJECT_INFORMATION_ACCESS: "subjectInfoAccess", ExtensionOID.OCSP_NO_CHECK: "OCSPNoCheck", |