From d91e7c1d3fa1bece0e77262b46d9992271fd24b0 Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Thu, 1 Oct 2015 16:50:42 -0500 Subject: add support for Certificate signature and tbs_certificate --- docs/x509/reference.rst | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'docs/x509/reference.rst') 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 , critical=False, value=, policy_qualifiers=None)>])>)> , critical=True, value=)> + .. 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 -- cgit v1.2.3 From d2898052ade019788ca146cfcced44c5a6b0e54b Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Tue, 3 Nov 2015 22:00:41 +0900 Subject: rename tbs_certificate to tbs_certificate_bytes, add a comment --- docs/x509/reference.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/x509/reference.rst') diff --git a/docs/x509/reference.rst b/docs/x509/reference.rst index bac48aba..10ba9ec3 100644 --- a/docs/x509/reference.rst +++ b/docs/x509/reference.rst @@ -390,7 +390,7 @@ X.509 Certificate Object The bytes of the certificate's signature. - .. attribute:: tbs_certificate + .. attribute:: tbs_certificate_bytes .. versionadded:: 1.2 -- cgit v1.2.3