diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2015-08-03 21:32:45 -0400 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2015-08-03 21:32:45 -0400 |
commit | 2d135b759139ef470b753a4c92ec0aa93f6cdff4 (patch) | |
tree | 9979699d3d0bc949036d9ae6b9233913a85ed091 /src/_cffi_src/openssl/x509v3.py | |
parent | e886575a26fdc686d8f47ae3f6e29d9b68de92fa (diff) | |
parent | 3b54ce272df125430907f27c61c86d27531b7f33 (diff) | |
download | cryptography-2d135b759139ef470b753a4c92ec0aa93f6cdff4.tar.gz cryptography-2d135b759139ef470b753a4c92ec0aa93f6cdff4.tar.bz2 cryptography-2d135b759139ef470b753a4c92ec0aa93f6cdff4.zip |
Merge pull request #2193 from reaperhulk/encode-aia
Support AuthorityInformationAccess in CertificateBuilder
Diffstat (limited to 'src/_cffi_src/openssl/x509v3.py')
-rw-r--r-- | src/_cffi_src/openssl/x509v3.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/_cffi_src/openssl/x509v3.py b/src/_cffi_src/openssl/x509v3.py index a61ad321..fc3c6d46 100644 --- a/src/_cffi_src/openssl/x509v3.py +++ b/src/_cffi_src/openssl/x509v3.py @@ -203,6 +203,9 @@ int i2d_GENERAL_NAMES(GENERAL_NAMES *, unsigned char **); int i2d_EXTENDED_KEY_USAGE(EXTENDED_KEY_USAGE *, unsigned char **); +int i2d_AUTHORITY_INFO_ACCESS(Cryptography_STACK_OF_ACCESS_DESCRIPTION *, + unsigned char **); + int sk_GENERAL_NAME_num(struct stack_st_GENERAL_NAME *); int sk_GENERAL_NAME_push(struct stack_st_GENERAL_NAME *, GENERAL_NAME *); GENERAL_NAME *sk_GENERAL_NAME_value(struct stack_st_GENERAL_NAME *, int); @@ -216,6 +219,9 @@ void sk_ACCESS_DESCRIPTION_free(Cryptography_STACK_OF_ACCESS_DESCRIPTION *); int sk_ACCESS_DESCRIPTION_push(Cryptography_STACK_OF_ACCESS_DESCRIPTION *, ACCESS_DESCRIPTION *); +ACCESS_DESCRIPTION *ACCESS_DESCRIPTION_new(void); +void ACCESS_DESCRIPTION_free(ACCESS_DESCRIPTION *); + X509_EXTENSION *X509V3_EXT_conf_nid(Cryptography_LHASH_OF_CONF_VALUE *, X509V3_CTX *, int, char *); |