aboutsummaryrefslogtreecommitdiffstats
path: root/docs/hazmat/backends
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2015-12-24 13:06:12 -0600
committerPaul Kehrer <paul.l.kehrer@gmail.com>2015-12-24 13:06:12 -0600
commit07b7e7f6afd654970be0821c7e9f03ade4c621be (patch)
tree471b0c035a0e1ab05788df33d3315e732693e888 /docs/hazmat/backends
parent1e63b8470ceb4abdada68b8fce03365fbcd37a2a (diff)
downloadcryptography-07b7e7f6afd654970be0821c7e9f03ade4c621be.tar.gz
cryptography-07b7e7f6afd654970be0821c7e9f03ade4c621be.tar.bz2
cryptography-07b7e7f6afd654970be0821c7e9f03ade4c621be.zip
add create_x509_crl interface
Diffstat (limited to 'docs/hazmat/backends')
-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 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