diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2015-11-04 07:25:39 -0500 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2015-11-04 07:25:39 -0500 |
commit | ea09b72ee4cb37ba038e38ea4784d12dd337df2c (patch) | |
tree | b6ebf902f4538e275207fee0a310b61ebcc23b61 /src/_cffi_src/openssl/x509.py | |
parent | 5f80d6cd7bb3c2275de2fbad4ac6a24a15709b66 (diff) | |
parent | d2898052ade019788ca146cfcced44c5a6b0e54b (diff) | |
download | cryptography-ea09b72ee4cb37ba038e38ea4784d12dd337df2c.tar.gz cryptography-ea09b72ee4cb37ba038e38ea4784d12dd337df2c.tar.bz2 cryptography-ea09b72ee4cb37ba038e38ea4784d12dd337df2c.zip |
Merge pull request #2387 from reaperhulk/x509-signature
add support for signature & tbs_certificate to Certificate
Diffstat (limited to 'src/_cffi_src/openssl/x509.py')
-rw-r--r-- | src/_cffi_src/openssl/x509.py | 2 |
1 files changed, 2 insertions, 0 deletions
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 *); |