diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2015-05-09 10:52:10 -0400 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2015-05-09 10:52:10 -0400 |
commit | 89a3cf0eaccab366000e8160e874c183e5019074 (patch) | |
tree | 56c692f29a723c5f8f2f6f7cc8ada733508ec158 | |
parent | b1fca70e16fa5c6ed92835203ded14d9f58a6aeb (diff) | |
parent | a793eac190ac09544852f3b943ddd0239c5169b9 (diff) | |
download | cryptography-89a3cf0eaccab366000e8160e874c183e5019074.tar.gz cryptography-89a3cf0eaccab366000e8160e874c183e5019074.tar.bz2 cryptography-89a3cf0eaccab366000e8160e874c183e5019074.zip |
Merge pull request #1917 from reaperhulk/crl-bindings
add crl bindings
-rw-r--r-- | src/cryptography/hazmat/bindings/openssl/x509.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cryptography/hazmat/bindings/openssl/x509.py b/src/cryptography/hazmat/bindings/openssl/x509.py index fa6a16b3..31250165 100644 --- a/src/cryptography/hazmat/bindings/openssl/x509.py +++ b/src/cryptography/hazmat/bindings/openssl/x509.py @@ -64,6 +64,7 @@ typedef struct { typedef struct { X509_CRL_INFO *crl; + X509_ALGOR *sig_alg; ...; } X509_CRL; @@ -183,6 +184,7 @@ int i2d_X509_CRL_bio(BIO *, X509_CRL *); int X509_CRL_print(BIO *, X509_CRL *); int X509_CRL_set_issuer_name(X509_CRL *, X509_NAME *); int X509_CRL_sign(X509_CRL *, EVP_PKEY *, const EVP_MD *); +int X509_CRL_verify(X509_CRL *, EVP_PKEY *); int X509_CRL_get_ext_count(X509_CRL *); X509_EXTENSION *X509_CRL_get_ext(X509_CRL *, int); int X509_CRL_add_ext(X509_CRL *, X509_EXTENSION *, int); @@ -285,6 +287,7 @@ int X509_CRL_get_version(X509_CRL *); ASN1_TIME *X509_CRL_get_lastUpdate(X509_CRL *); ASN1_TIME *X509_CRL_get_nextUpdate(X509_CRL *); X509_NAME *X509_CRL_get_issuer(X509_CRL *); +Cryptography_STACK_OF_X509_REVOKED *X509_CRL_get_REVOKED(X509_CRL *); /* These aren't macros these arguments are all const X on openssl > 1.0.x */ int X509_CRL_set_lastUpdate(X509_CRL *, ASN1_TIME *); |