From e5f152b0a93b105cc32fe5adf06899f4f5cd0936 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Fri, 25 Dec 2015 23:55:47 -0600 Subject: support CRL entry extension encoding in the RevokedCertificateBuilder --- docs/x509/reference.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'docs/x509/reference.rst') diff --git a/docs/x509/reference.rst b/docs/x509/reference.rst index 72fd44be..bbea490e 100644 --- a/docs/x509/reference.rst +++ b/docs/x509/reference.rst @@ -947,6 +947,16 @@ X.509 Revoked Certificate Builder :param time: The :class:`datetime.datetime` object (in UTC) that marks the revocation time for the certificate. + .. method:: add_extension(extension, critical) + + Adds an X.509 extension to this revoked certificate. + + :param extension: An instance of one of the + :ref:`CRL entry extensions `. + + :param critical: Set to ``True`` if the extension must be understood and + handled. + .. method:: build(backend) Create a revoked certificate object using the provided backend. @@ -1956,6 +1966,8 @@ These classes may be present within a :class:`CertificatePolicies` instance. A list of integers. +.. _crl_entry_extensions: + CRL Entry Extensions ~~~~~~~~~~~~~~~~~~~~ -- cgit v1.2.3