diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2015-12-30 20:37:43 -0500 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2015-12-30 20:37:43 -0500 |
commit | 7640889dbbc379fe1f164cbd3094b2189aa655ba (patch) | |
tree | 39e6b91587b9c7e7ab602eaa399770e0e1eb320e /docs/x509 | |
parent | d72d8a250e79fb15bf5ccc74897f20336775725f (diff) | |
parent | 1628b5c33f92cdfdb77125782095f3028044939f (diff) | |
download | cryptography-7640889dbbc379fe1f164cbd3094b2189aa655ba.tar.gz cryptography-7640889dbbc379fe1f164cbd3094b2189aa655ba.tar.bz2 cryptography-7640889dbbc379fe1f164cbd3094b2189aa655ba.zip |
Merge pull request #2604 from reaperhulk/unrecognized-extension-class
add UnrecognizedExtension class
Diffstat (limited to 'docs/x509')
-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..df17f954 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 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 |