aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat/backends/interfaces.rst
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2015-12-24 18:34:56 -0500
committerAlex Gaynor <alex.gaynor@gmail.com>2015-12-24 18:34:56 -0500
commit48f17cb225abcf43f77915d152f6cc15b762c702 (patch)
tree76c4df17325935f35c1ff908c6ec7ad0977509b2 /docs/hazmat/backends/interfaces.rst
parente454a5752a9b26c7c097e874409b513d8cc67e51 (diff)
parent4791d6fa1a829defb7b40258e2b101df0da177c9 (diff)
downloadcryptography-48f17cb225abcf43f77915d152f6cc15b762c702.tar.gz
cryptography-48f17cb225abcf43f77915d152f6cc15b762c702.tar.bz2
cryptography-48f17cb225abcf43f77915d152f6cc15b762c702.zip
Merge pull request #2565 from reaperhulk/crl-interface
add create_x509_crl interface
Diffstat (limited to 'docs/hazmat/backends/interfaces.rst')
-rw-r--r--docs/hazmat/backends/interfaces.rst20
1 files changed, 20 insertions, 0 deletions
diff --git a/docs/hazmat/backends/interfaces.rst b/docs/hazmat/backends/interfaces.rst
index ef7ba6ae..3a7224fa 100644
--- a/docs/hazmat/backends/interfaces.rst
+++ b/docs/hazmat/backends/interfaces.rst
@@ -569,6 +569,26 @@ A specific ``backend`` may provide one or more of these interfaces.
:returns: A new instance of :class:`~cryptography.x509.Certificate`.
+ .. 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 instance of
+ :class:`~cryptography.x509.CertificateRevocationList`.
+
.. class:: DHBackend