aboutsummaryrefslogtreecommitdiffstats
path: root/src/_cffi_src/openssl/x509v3.py
diff options
context:
space:
mode:
authorPaul Kehrer <paul.l.kehrer@gmail.com>2015-07-23 21:46:21 +0100
committerPaul Kehrer <paul.l.kehrer@gmail.com>2015-07-23 23:11:03 +0100
commit0b8f327f59b5a890f2d2ad9101391a0b818e186a (patch)
treec51ad27b2c23bf03c4976f404d43e29d391ff6ee /src/_cffi_src/openssl/x509v3.py
parentef8a72273d639be239d3d7c2380a0912083811da (diff)
downloadcryptography-0b8f327f59b5a890f2d2ad9101391a0b818e186a.tar.gz
cryptography-0b8f327f59b5a890f2d2ad9101391a0b818e186a.tar.bz2
cryptography-0b8f327f59b5a890f2d2ad9101391a0b818e186a.zip
Support encoding ExtendedKeyUsage into certificate signing requests
Diffstat (limited to 'src/_cffi_src/openssl/x509v3.py')
-rw-r--r--src/_cffi_src/openssl/x509v3.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/_cffi_src/openssl/x509v3.py b/src/_cffi_src/openssl/x509v3.py
index 8e42b65d..148cd64b 100644
--- a/src/_cffi_src/openssl/x509v3.py
+++ b/src/_cffi_src/openssl/x509v3.py
@@ -33,6 +33,7 @@ typedef ... Cryptography_STACK_OF_POLICYQUALINFO;
typedef ... Cryptography_STACK_OF_POLICYINFO;
typedef ... Cryptography_STACK_OF_ASN1_INTEGER;
typedef ... Cryptography_STACK_OF_GENERAL_SUBTREE;
+typedef ... EXTENDED_KEY_USAGE;
typedef struct {
X509 *issuer_cert;
@@ -200,6 +201,8 @@ void *X509V3_set_ctx_nodb(X509V3_CTX *);
int i2d_GENERAL_NAMES(GENERAL_NAMES *, unsigned char **);
+int i2d_EXTENDED_KEY_USAGE(EXTENDED_KEY_USAGE *, 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);