From 476c5df3f12967b397a3e02e303db774cfa95915 Mon Sep 17 00:00:00 2001 From: Andre Caron Date: Mon, 18 May 2015 10:23:28 -0400 Subject: Adds support for writing CSRs. --- docs/x509.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'docs/x509.rst') 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 -- cgit v1.2.3