diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-05-19 21:21:32 -0700 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-05-19 21:21:32 -0700 |
commit | f2646557cbe6ee7dc8c338ad60b188a8ab1978ab (patch) | |
tree | f527720eb68b827b79b9a354058edce33eb576b2 /docs | |
parent | c5db584e727c180b7d426bd13675a8e0d0980dd3 (diff) | |
parent | 9dd2ab94131c57af7aceac6785ee3607e02b1353 (diff) | |
download | cryptography-f2646557cbe6ee7dc8c338ad60b188a8ab1978ab.tar.gz cryptography-f2646557cbe6ee7dc8c338ad60b188a8ab1978ab.tar.bz2 cryptography-f2646557cbe6ee7dc8c338ad60b188a8ab1978ab.zip |
Merge pull request #1984 from AndreLouisCaron/cert-encoding
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 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |