diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2015-12-21 11:35:51 -0500 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2015-12-21 11:35:51 -0500 |
commit | a04e032be907759af8d5b838fc94d581c49b484a (patch) | |
tree | 8410ea4591acccad1ce1f810c13c350279ea82d1 /docs/x509/reference.rst | |
parent | 394cca58a7dbd7e34d111f8c78a8f2dabda3a4b3 (diff) | |
parent | 2c91858de5fca63ee56b342d44fee73ed220d547 (diff) | |
download | cryptography-a04e032be907759af8d5b838fc94d581c49b484a.tar.gz cryptography-a04e032be907759af8d5b838fc94d581c49b484a.tar.bz2 cryptography-a04e032be907759af8d5b838fc94d581c49b484a.zip |
Merge pull request #2541 from reaperhulk/crl-serialization
add a CRL public_bytes method
Diffstat (limited to 'docs/x509/reference.rst')
-rw-r--r-- | docs/x509/reference.rst | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/x509/reference.rst b/docs/x509/reference.rst index 91c53444..d0606330 100644 --- a/docs/x509/reference.rst +++ b/docs/x509/reference.rst @@ -523,6 +523,18 @@ X.509 CRL (Certificate Revocation List) Object used to validate a signature, but use extreme caution as CRL validation is a complex problem that involves much more than just signature checks. + .. method:: public_bytes(encoding) + + .. versionadded:: 1.2 + + :param encoding: The + :class:`~cryptography.hazmat.primitives.serialization.Encoding` + that will be used to serialize the certificate revocation list. + + :return bytes: The data that can be written to a file or sent + over the network and used as part of a certificate verification + process. + X.509 Certificate Builder ~~~~~~~~~~~~~~~~~~~~~~~~~ |