aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2015-05-19 21:21:32 -0700
committerPaul Kehrer <paul.l.kehrer@gmail.com>2015-05-19 21:21:32 -0700
commitf2646557cbe6ee7dc8c338ad60b188a8ab1978ab (patch)
treef527720eb68b827b79b9a354058edce33eb576b2 /docs
parentc5db584e727c180b7d426bd13675a8e0d0980dd3 (diff)
parent9dd2ab94131c57af7aceac6785ee3607e02b1353 (diff)
downloadcryptography-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.rst9
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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~