From a433bb369ad9c0d104bd8d590c2192054fc6a042 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Wed, 4 Feb 2015 12:23:53 -0600 Subject: UnknownNameAttribute is not needed now --- docs/x509.rst | 6 ------ src/cryptography/x509.py | 4 ---- 2 files changed, 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): -- cgit v1.2.3