diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-12-24 20:50:43 -0600 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-12-25 09:58:13 -0600 |
commit | 426b48d9fbf86712407a9080fc327087c721f376 (patch) | |
tree | ab43de0e2ecf6116c4625b7d84bb234002335f9b /docs | |
parent | 2bd476835c0597efb44d6d9c147017732fc90699 (diff) | |
download | cryptography-426b48d9fbf86712407a9080fc327087c721f376.tar.gz cryptography-426b48d9fbf86712407a9080fc327087c721f376.tar.bz2 cryptography-426b48d9fbf86712407a9080fc327087c721f376.zip |
add extension support to the CRLBuilder
Diffstat (limited to 'docs')
-rw-r--r-- | docs/x509/reference.rst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/x509/reference.rst b/docs/x509/reference.rst index 859bc838..e4711be3 100644 --- a/docs/x509/reference.rst +++ b/docs/x509/reference.rst @@ -822,6 +822,16 @@ X.509 Certificate Revocation List Builder :param time: The :class:`datetime.datetime` object (in UTC) that marks the next update time for this CRL. + .. method:: add_extension(extension, critical) + + Adds an X.509 extension to this CRL. + + :param extension: An extension with the + :class:`~cryptography.x509.ExtensionType` interface. + + :param critical: Set to ``True`` if the extension must be understood and + handled by whoever reads the CRL. + .. method:: sign(private_key, algorithm, backend) Sign this CRL using the CA's private key. |