diff options
author | redshiftzero <jen@freedom.press> | 2019-05-19 05:54:37 -0700 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2019-05-19 08:54:37 -0400 |
commit | 347351f5b6cef7fbaa33ab8c7a72999deed9de26 (patch) | |
tree | dc6da04fd4ee410bbb3a289a33362eb5ca27c1f8 /src/cryptography | |
parent | 9a22851fab924fd58482fdad3f8dd23dc3987f91 (diff) | |
download | cryptography-347351f5b6cef7fbaa33ab8c7a72999deed9de26.tar.gz cryptography-347351f5b6cef7fbaa33ab8c7a72999deed9de26.tar.bz2 cryptography-347351f5b6cef7fbaa33ab8c7a72999deed9de26.zip |
add name for ExtensionOID.PRECERT_POISON (#4853)
* test: ensure all public members of ExtensionOID have names defined
* add name for ExtensionOID.PRECERT_POISON
ref: https://github.com/google/certificate-transparency/blob/5fce65cb60cfe7808afc98de23c7dd5ddbfa1509/python/ct/crypto/asn1/oid.py#L338
Diffstat (limited to 'src/cryptography')
-rw-r--r-- | src/cryptography/x509/oid.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cryptography/x509/oid.py b/src/cryptography/x509/oid.py index ec19007f..1bfe58ca 100644 --- a/src/cryptography/x509/oid.py +++ b/src/cryptography/x509/oid.py @@ -196,6 +196,7 @@ _OID_NAMES = { ExtensionOID.PRECERT_SIGNED_CERTIFICATE_TIMESTAMPS: ( "signedCertificateTimestampList" ), + ExtensionOID.PRECERT_POISON: "ctPoison", CRLEntryExtensionOID.CRL_REASON: "cRLReason", CRLEntryExtensionOID.INVALIDITY_DATE: "invalidityDate", CRLEntryExtensionOID.CERTIFICATE_ISSUER: "certificateIssuer", |