diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-12-30 10:58:25 -0600 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-12-30 10:58:25 -0600 |
commit | 14fd697c5c4a2435b2113e425c95ac9c05702cc2 (patch) | |
tree | 08c194803532e2d49184565a8f7a3cf22b63826f /docs | |
parent | 42e0c790c5150bec47add345065929ca7df8e6ff (diff) | |
download | cryptography-14fd697c5c4a2435b2113e425c95ac9c05702cc2.tar.gz cryptography-14fd697c5c4a2435b2113e425c95ac9c05702cc2.tar.bz2 cryptography-14fd697c5c4a2435b2113e425c95ac9c05702cc2.zip |
add UnrecognizedExtension class
Diffstat (limited to 'docs')
-rw-r--r-- | docs/x509/reference.rst | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/docs/x509/reference.rst b/docs/x509/reference.rst index bbea490e..14727e76 100644 --- a/docs/x509/reference.rst +++ b/docs/x509/reference.rst @@ -1880,6 +1880,27 @@ X.509 Extensions :type: int +.. class:: UnrecognizedExtension + + .. versionadded:: 1.2 + + A generic extension class used to hold the raw value of **non-critical** + extensions that ``cryptography`` does not know how to parse. Extensions + marked critical will still raise + :class:`~cryptography.x509.UnsupportedExtension`. + + .. attribute:: oid + + :type: :class:`ObjectIdentifier` + + Returns the OID associated with this extension. + + .. attribute:: value + + :type: byte + + Returns the DER encoded bytes payload of the extension. + .. class:: CertificatePolicies(policies) .. versionadded:: 0.9 |