From 426b48d9fbf86712407a9080fc327087c721f376 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Thu, 24 Dec 2015 20:50:43 -0600 Subject: add extension support to the CRLBuilder --- docs/x509/reference.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'docs') 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. -- cgit v1.2.3