diff options
author | Andre Caron <andre.l.caron@gmail.com> | 2015-05-19 20:11:57 -0400 |
---|---|---|
committer | Andre Caron <andre.l.caron@gmail.com> | 2015-05-19 21:20:58 -0400 |
commit | a8aded6346b8016d8f9e7e5d2ad75319dd69dcbb (patch) | |
tree | 4274562bc948423c2a77ff35f3f6cf4ef871d643 /docs | |
parent | c5db584e727c180b7d426bd13675a8e0d0980dd3 (diff) | |
download | cryptography-a8aded6346b8016d8f9e7e5d2ad75319dd69dcbb.tar.gz cryptography-a8aded6346b8016d8f9e7e5d2ad75319dd69dcbb.tar.bz2 cryptography-a8aded6346b8016d8f9e7e5d2ad75319dd69dcbb.zip |
Adds certificate encoding to PEM and DER.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/x509.rst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/x509.rst b/docs/x509.rst index c570f196..5e4d9bfa 100644 --- a/docs/x509.rst +++ b/docs/x509.rst @@ -326,6 +326,15 @@ X.509 Certificate Object <Extension(oid=<ObjectIdentifier(oid=2.5.29.32, name=certificatePolicies)>, critical=False, value=<CertificatePolicies([<PolicyInformation(policy_identifier=<ObjectIdentifier(oid=2.16.840.1.101.3.2.1.48.1, name=Unknown OID)>, policy_qualifiers=None)>])>)> <Extension(oid=<ObjectIdentifier(oid=2.5.29.19, name=basicConstraints)>, critical=True, value=<BasicConstraints(ca=True, path_length=None)>)> + .. method:: public_bytes(encoding) + + :param encoding: The + :class:`~cryptography.hazmat.primitives.serialization.Encoding` + that will be used to serialize the certificate. + + :return bytes: The data that can be written to a file or sent + over the network to be verified by clients. + X.509 CSR (Certificate Signing Request) Object ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |