diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-12-19 23:32:08 -0600 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-12-24 18:49:11 -0600 |
commit | bfac2d10305cf72d634e0e74a87fd08d4cd07257 (patch) | |
tree | a93206af48941b2539019d8bb6e290f17956ad97 /docs/hazmat/backends | |
parent | 48f17cb225abcf43f77915d152f6cc15b762c702 (diff) | |
download | cryptography-bfac2d10305cf72d634e0e74a87fd08d4cd07257.tar.gz cryptography-bfac2d10305cf72d634e0e74a87fd08d4cd07257.tar.bz2 cryptography-bfac2d10305cf72d634e0e74a87fd08d4cd07257.zip |
CertificateRevocationListBuilder
RSA keys only. Currently does not support CRL extensions or
CRLEntry extensions.
Diffstat (limited to 'docs/hazmat/backends')
-rw-r--r-- | docs/hazmat/backends/interfaces.rst | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/docs/hazmat/backends/interfaces.rst b/docs/hazmat/backends/interfaces.rst index 3a7224fa..2952d85a 100644 --- a/docs/hazmat/backends/interfaces.rst +++ b/docs/hazmat/backends/interfaces.rst @@ -589,6 +589,25 @@ A specific ``backend`` may provide one or more of these interfaces. :returns: A new instance of :class:`~cryptography.x509.CertificateRevocationList`. + .. method:: create_x509_crl(builder, private_key, algorithm) + + .. versionadded:: 1.2 + + :param builder: An instance of + :class:`~cryptography.x509.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 |