aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2015-02-04 12:23:53 -0600
committerPaul Kehrer <paul.l.kehrer@gmail.com>2015-02-04 12:23:53 -0600
commita433bb369ad9c0d104bd8d590c2192054fc6a042 (patch)
treef691001c29ee969011f79c4d98f7b20d3524bbe8
parent806bfb24feb254287c588da4887b45025bec3623 (diff)
downloadcryptography-a433bb369ad9c0d104bd8d590c2192054fc6a042.tar.gz
cryptography-a433bb369ad9c0d104bd8d590c2192054fc6a042.tar.bz2
cryptography-a433bb369ad9c0d104bd8d590c2192054fc6a042.zip
UnknownNameAttribute is not needed now
-rw-r--r--docs/x509.rst6
-rw-r--r--src/cryptography/x509.py4
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):