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 --- src/_cffi_src/openssl/x509.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/_cffi_src/openssl/x509.py') diff --git a/src/_cffi_src/openssl/x509.py b/src/_cffi_src/openssl/x509.py index 468d74ea..2024101b 100644 --- a/src/_cffi_src/openssl/x509.py +++ b/src/_cffi_src/openssl/x509.py @@ -71,6 +71,7 @@ typedef struct { typedef struct { X509_ALGOR *sig_alg; X509_CINF *cert_info; + ASN1_BIT_STRING *signature; ...; } X509; @@ -257,6 +258,7 @@ void PKCS8_PRIV_KEY_INFO_free(PKCS8_PRIV_KEY_INFO *); """ MACROS = """ +int i2d_X509_CINF(X509_CINF *, unsigned char **); long X509_get_version(X509 *); ASN1_TIME *X509_get_notBefore(X509 *); -- cgit v1.2.3