diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-10-01 16:50:42 -0500 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-11-03 15:00:10 +0900 |
commit | d91e7c1d3fa1bece0e77262b46d9992271fd24b0 (patch) | |
tree | 4bf4ac0adfe53723d6b72273c6e1b3645041e523 /docs/x509 | |
parent | 5f80d6cd7bb3c2275de2fbad4ac6a24a15709b66 (diff) | |
download | cryptography-d91e7c1d3fa1bece0e77262b46d9992271fd24b0.tar.gz cryptography-d91e7c1d3fa1bece0e77262b46d9992271fd24b0.tar.bz2 cryptography-d91e7c1d3fa1bece0e77262b46d9992271fd24b0.zip |
add support for Certificate signature and tbs_certificate
Diffstat (limited to 'docs/x509')
-rw-r--r-- | docs/x509/reference.rst | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/docs/x509/reference.rst b/docs/x509/reference.rst index f056a727..bac48aba 100644 --- a/docs/x509/reference.rst +++ b/docs/x509/reference.rst @@ -382,6 +382,26 @@ 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)>)> + .. attribute:: signature + + .. versionadded:: 1.2 + + :type: bytes + + The bytes of the certificate's signature. + + .. attribute:: tbs_certificate + + .. versionadded:: 1.2 + + :type: bytes + + The DER encoded bytes payload (as defined by :rfc:`5280`) that is hashed + and then signed by the private key of the certificate's issuer. This + data may be used to validate a signature, but use extreme caution as + certificate validation is a complex problem that involves much more + than just signature checks. + .. method:: public_bytes(encoding) .. versionadded:: 1.0 |