diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-07-08 21:27:06 -0500 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-07-08 21:27:06 -0500 |
commit | 907cc81149e6a89db683c206f8fe4fc5bea7f87d (patch) | |
tree | 8b6ee4f4ea7faab12e24260797de935ff33a8942 /docs/x509.rst | |
parent | 366b0f8385bc1a35c25a4316f315c33a84348261 (diff) | |
parent | d2afad325e2e9c52765b4a696d6f6b646c4e855b (diff) | |
download | cryptography-907cc81149e6a89db683c206f8fe4fc5bea7f87d.tar.gz cryptography-907cc81149e6a89db683c206f8fe4fc5bea7f87d.tar.bz2 cryptography-907cc81149e6a89db683c206f8fe4fc5bea7f87d.zip |
Merge pull request #2108 from mail-in-a-box/master
support othername in general names
Diffstat (limited to 'docs/x509.rst')
-rw-r--r-- | docs/x509.rst | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/docs/x509.rst b/docs/x509.rst index a3cf7e25..bcb6ee66 100644 --- a/docs/x509.rst +++ b/docs/x509.rst @@ -699,6 +699,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 ~~~~~~~~~~~~~~~~ @@ -971,6 +985,7 @@ X.509 Extensions :ref:`general name classes <general_name_classes>`. :returns: A list of values extracted from the matched general names. + The type of the returned values depends on the :class:`GeneralName`. .. doctest:: |