diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-11-24 09:20:38 -1000 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-11-24 09:20:38 -1000 |
commit | 6c4302e64c8ee866bfde6cd0acd5a86a9b1834de (patch) | |
tree | d67b10dd0820b37d3389c4b07fea36387b4ae70f /docs/hazmat | |
parent | 05c122b5614740a50bee67808d4540ed94ae69e9 (diff) | |
download | cryptography-6c4302e64c8ee866bfde6cd0acd5a86a9b1834de.tar.gz cryptography-6c4302e64c8ee866bfde6cd0acd5a86a9b1834de.tar.bz2 cryptography-6c4302e64c8ee866bfde6cd0acd5a86a9b1834de.zip |
add backend interface for loading x509 certificates
Diffstat (limited to 'docs/hazmat')
-rw-r--r-- | docs/hazmat/backends/interfaces.rst | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/docs/hazmat/backends/interfaces.rst b/docs/hazmat/backends/interfaces.rst index ce2f0918..47553a9d 100644 --- a/docs/hazmat/backends/interfaces.rst +++ b/docs/hazmat/backends/interfaces.rst @@ -512,3 +512,17 @@ A specific ``backend`` may provide one or more of these interfaces. :raises cryptography.exceptions.UnsupportedAlgorithm: If the data is encrypted with an unsupported algorithm. + +.. class:: X509Backend + + .. versionadded:: 0.7 + + A backend with methods for working with X.509 objects. + + .. method:: load_pem_x509_certificate(data) + + :param bytes data: PEM formatted certificate data. + + :returns: An instance of a + :class:`~cryptography.hazmat.primitives.interfaces.X509Certificate` + provider. |