diff options
-rw-r--r-- | docs/x509.rst | 6 | ||||
-rw-r--r-- | src/cryptography/x509.py | 4 |
2 files changed, 0 insertions, 10 deletions
diff --git a/docs/x509.rst b/docs/x509.rst index 5ad69972..9406bd88 100644 --- a/docs/x509.rst +++ b/docs/x509.rst @@ -261,12 +261,6 @@ Exceptions Returns the raw version that was parsed from the certificate. -.. class:: UnknownNameAttribute - - This is raised when an X.509 certificate has an unknown name attribute in a - distinguished name. - - .. _`public key infrastructure`: https://en.wikipedia.org/wiki/Public_key_infrastructure .. _`TLS`: https://en.wikipedia.org/wiki/Transport_Layer_Security diff --git a/src/cryptography/x509.py b/src/cryptography/x509.py index a1f8c5b2..1b8d6357 100644 --- a/src/cryptography/x509.py +++ b/src/cryptography/x509.py @@ -50,10 +50,6 @@ class InvalidVersion(Exception): self.parsed_version = parsed_version -class UnknownNameAttribute(Exception): - pass - - class NameAttribute(object): def __init__(self, oid, value): if not isinstance(oid, ObjectIdentifier): |