diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2015-03-30 22:12:46 -0400 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2015-03-30 22:12:46 -0400 |
commit | 33bf83fbba6e3a0e2d308160d46865a0ffeb5a8b (patch) | |
tree | d549a53d61b314f9b024c9a76e9f2803802b35ef /docs | |
parent | d10e1ab8bb4630eb8e0902b37e9e4ea2013bd349 (diff) | |
parent | 1effb6e11ef4248c65b37a97dfe9dd0c2710882e (diff) | |
download | cryptography-33bf83fbba6e3a0e2d308160d46865a0ffeb5a8b.tar.gz cryptography-33bf83fbba6e3a0e2d308160d46865a0ffeb5a8b.tar.bz2 cryptography-33bf83fbba6e3a0e2d308160d46865a0ffeb5a8b.zip |
Merge pull request #1801 from reaperhulk/x509-request-der
X509 request DER parsing
Diffstat (limited to 'docs')
-rw-r--r-- | docs/x509.rst | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/x509.rst b/docs/x509.rst index 22b282ce..dbfb441b 100644 --- a/docs/x509.rst +++ b/docs/x509.rst @@ -118,6 +118,22 @@ Loading Certificate Signing Requests :returns: An instance of :class:`~cryptography.x509.CertificateSigningRequest`. +.. function:: load_der_x509_csr(data, backend) + + .. versionadded:: 0.9 + + Deserialize a certificate signing request (CSR) from DER encoded data. DER + is a binary format and is not commonly used with CSRs. + + :param bytes data: The DER encoded request data. + + :param backend: A backend supporting the + :class:`~cryptography.hazmat.backends.interfaces.X509Backend` + interface. + + :returns: An instance of + :class:`~cryptography.x509.CertificateSigningRequest`. + .. doctest:: >>> from cryptography import x509 |