diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-12-01 14:50:31 -0600 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2015-12-03 22:17:21 -0600 |
commit | ab209394e8df273763132a44a5690b551493e94a (patch) | |
tree | 849c46872b65eef76dd68684439d36387c33dc49 /src/_cffi_src/openssl | |
parent | 7b7f97a636d9b2081a33226380a9bad48a749fd4 (diff) | |
download | cryptography-ab209394e8df273763132a44a5690b551493e94a.tar.gz cryptography-ab209394e8df273763132a44a5690b551493e94a.tar.bz2 cryptography-ab209394e8df273763132a44a5690b551493e94a.zip |
expose tbs_certrequest_bytes and signature on CertificateSigningRequest
Diffstat (limited to 'src/_cffi_src/openssl')
-rw-r--r-- | src/_cffi_src/openssl/x509.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/_cffi_src/openssl/x509.py b/src/_cffi_src/openssl/x509.py index b5d461ab..0fc49ac5 100644 --- a/src/_cffi_src/openssl/x509.py +++ b/src/_cffi_src/openssl/x509.py @@ -43,9 +43,12 @@ typedef struct { } X509_EXTENSION; typedef ... X509_EXTENSIONS; +typedef ... X509_REQ_INFO; typedef struct { + X509_REQ_INFO *req_info; X509_ALGOR *sig_alg; + ASN1_BIT_STRING *signature; ...; } X509_REQ; @@ -267,6 +270,7 @@ void PKCS8_PRIV_KEY_INFO_free(PKCS8_PRIV_KEY_INFO *); MACROS = """ int i2d_X509_CINF(X509_CINF *, unsigned char **); int i2d_X509_CRL_INFO(X509_CRL_INFO *, unsigned char **); +int i2d_X509_REQ_INFO(X509_REQ_INFO *, unsigned char **); long X509_get_version(X509 *); |