diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2015-04-03 12:39:30 -0500 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2015-04-03 12:39:30 -0500 |
commit | 79d6579fc9c9fea909bb2d6aa1248698a0c272a2 (patch) | |
tree | af84b53ae07beb86dd923105e71ec16ec2801a95 /src | |
parent | cdf3d3be6f9a8a017fb44a646cab51fbd2c6bd23 (diff) | |
parent | 090dcb302f4ea8e6e77aac6ea772cbf7241e0227 (diff) | |
download | cryptography-79d6579fc9c9fea909bb2d6aa1248698a0c272a2.tar.gz cryptography-79d6579fc9c9fea909bb2d6aa1248698a0c272a2.tar.bz2 cryptography-79d6579fc9c9fea909bb2d6aa1248698a0c272a2.zip |
Merge pull request #1819 from schlenk/stack_of_x509_crl
Add wrappers for STACK_OF(X509_CRL) manipulation
Diffstat (limited to 'src')
-rw-r--r-- | src/cryptography/hazmat/bindings/openssl/x509.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cryptography/hazmat/bindings/openssl/x509.py b/src/cryptography/hazmat/bindings/openssl/x509.py index e867450b..2e95d9c9 100644 --- a/src/cryptography/hazmat/bindings/openssl/x509.py +++ b/src/cryptography/hazmat/bindings/openssl/x509.py @@ -262,6 +262,12 @@ void sk_X509_EXTENSION_free(X509_EXTENSIONS *); int sk_X509_REVOKED_num(Cryptography_STACK_OF_X509_REVOKED *); X509_REVOKED *sk_X509_REVOKED_value(Cryptography_STACK_OF_X509_REVOKED *, int); +Cryptography_STACK_OF_X509_CRL *sk_X509_CRL_new_null(void); +void sk_X509_CRL_free(Cryptography_STACK_OF_X509_CRL *); +int sk_X509_CRL_num(Cryptography_STACK_OF_X509_CRL *); +int sk_X509_CRL_push(Cryptography_STACK_OF_X509_CRL *, X509_CRL *); +X509_CRL *sk_X509_CRL_value(Cryptography_STACK_OF_X509_CRL *, int); + int i2d_RSAPublicKey(RSA *, unsigned char **); int i2d_RSAPrivateKey(RSA *, unsigned char **); int i2d_DSAPublicKey(DSA *, unsigned char **); |