From 07b7e7f6afd654970be0821c7e9f03ade4c621be Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Thu, 24 Dec 2015 13:06:12 -0600 Subject: add create_x509_crl interface --- docs/hazmat/backends/interfaces.rst | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'docs/hazmat/backends/interfaces.rst') diff --git a/docs/hazmat/backends/interfaces.rst b/docs/hazmat/backends/interfaces.rst index 442bd0de..98189f19 100644 --- a/docs/hazmat/backends/interfaces.rst +++ b/docs/hazmat/backends/interfaces.rst @@ -570,6 +570,26 @@ A specific ``backend`` may provide one or more of these interfaces. :returns: A new object with the :class:`~cryptography.x509.Certificate` interface. + .. method:: create_x509_crl(builder, private_key, algorithm) + + .. versionadded:: 1.2 + + :param builder: An instance of + CertificateRevocationListBuilder. + + :param private_key: The + :class:`~cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKey`, + :class:`~cryptography.hazmat.primitives.asymmetric.dsa.DSAPrivateKey` or + :class:`~cryptography.hazmat.primitives.asymmetric.ec.EllipticCurvePrivateKey` + that will be used to sign the CRL. + + :param algorithm: The + :class:`~cryptography.hazmat.primitives.hashes.HashAlgorithm` + that will be used to generate the CRL signature. + + :returns: A new object with the + :class:`~cryptography.x509.CertificateRevocationList` interface. + .. class:: DHBackend -- cgit v1.2.3 From a3ef62119420832250959f598ca255bfc2a14685 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Thu, 24 Dec 2015 13:20:41 -0600 Subject: better language --- docs/hazmat/backends/interfaces.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/hazmat/backends/interfaces.rst') diff --git a/docs/hazmat/backends/interfaces.rst b/docs/hazmat/backends/interfaces.rst index 98189f19..13f2f421 100644 --- a/docs/hazmat/backends/interfaces.rst +++ b/docs/hazmat/backends/interfaces.rst @@ -587,8 +587,8 @@ A specific ``backend`` may provide one or more of these interfaces. :class:`~cryptography.hazmat.primitives.hashes.HashAlgorithm` that will be used to generate the CRL signature. - :returns: A new object with the - :class:`~cryptography.x509.CertificateRevocationList` interface. + :returns: A new instance of + :class:`~cryptography.x509.CertificateRevocationList`. .. class:: DHBackend -- cgit v1.2.3