aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorJoshua Tauberer <jt@occams.info>2015-07-04 20:09:46 +0000
committerJoshua Tauberer <jt@occams.info>2015-07-06 23:01:22 +0000
commit2ee5e3c6240721120146d6d81c70e1b900029ee0 (patch)
tree1649fac07c5b6cd18a16ce86ca5f33a9cd27cf95 /docs
parent0784a23d4ab15e98214ccdf07021d42568404c1c (diff)
downloadcryptography-2ee5e3c6240721120146d6d81c70e1b900029ee0.tar.gz
cryptography-2ee5e3c6240721120146d6d81c70e1b900029ee0.tar.bz2
cryptography-2ee5e3c6240721120146d6d81c70e1b900029ee0.zip
parse SAN otherNames into OtherName instances rather than raising an exception
Test added.
Diffstat (limited to 'docs')
-rw-r--r--docs/x509.rst14
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/x509.rst b/docs/x509.rst
index f94f50eb..eab1f53c 100644
--- a/docs/x509.rst
+++ b/docs/x509.rst
@@ -695,6 +695,20 @@ General Name Classes
:type: :class:`ObjectIdentifier`
+.. class:: OtherName
+
+ .. versionadded:: 1.0
+
+ This corresponds to an "otherName." An otherName has a type identifier and a value represented in binary DER format.
+
+ .. attribute:: type_id
+
+ :type: :class:`ObjectIdentifier`
+
+ .. attribute:: value
+
+ :type: `bytes`
+
X.509 Extensions
~~~~~~~~~~~~~~~~