diff options
author | Andre Caron <andre.l.caron@gmail.com> | 2015-05-18 10:23:28 -0400 |
---|---|---|
committer | Andre Caron <andre.l.caron@gmail.com> | 2015-05-18 10:25:30 -0400 |
commit | 476c5df3f12967b397a3e02e303db774cfa95915 (patch) | |
tree | 1872dff9ebd507e8c7ae304f693a0a7b0e9e469c /docs | |
parent | 0b0179f7311162084f2b8dc6a028e301ca2eb7b2 (diff) | |
download | cryptography-476c5df3f12967b397a3e02e303db774cfa95915.tar.gz cryptography-476c5df3f12967b397a3e02e303db774cfa95915.tar.bz2 cryptography-476c5df3f12967b397a3e02e303db774cfa95915.zip |
Adds support for writing CSRs.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/x509.rst | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/x509.rst b/docs/x509.rst index 850e3df1..8e762ef1 100644 --- a/docs/x509.rst +++ b/docs/x509.rst @@ -366,6 +366,17 @@ X.509 CSR (Certificate Signing Request) Object >>> isinstance(csr.signature_hash_algorithm, hashes.SHA1) True + .. method:: public_bytes(encoding) + + :param encoding: The + :class:`~cryptography.hazmat.primitives.serialization.Encoding` + that will be used to serialize the certificate request. + + :return bytes: The data that can be written to a file or sent + over the network to be signed by the certificate + authority. + + .. class:: Name .. versionadded:: 0.8 |