diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2015-12-25 11:46:47 -0500 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2015-12-25 11:46:47 -0500 |
commit | 58dc259214ff05243ec4e72c86cc2c7a76ca6e02 (patch) | |
tree | 1adacd75c165d5e9495eb71eddb4975229b39b35 /docs | |
parent | 2bd476835c0597efb44d6d9c147017732fc90699 (diff) | |
parent | bbc1ba9b4e6f8f2df241f67298645a005ea81539 (diff) | |
download | cryptography-58dc259214ff05243ec4e72c86cc2c7a76ca6e02.tar.gz cryptography-58dc259214ff05243ec4e72c86cc2c7a76ca6e02.tar.bz2 cryptography-58dc259214ff05243ec4e72c86cc2c7a76ca6e02.zip |
Merge pull request #2568 from reaperhulk/crlbuilder-extensions
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. |