5 * See LICENSE for details.
7 * Export X.509 extension functions and data structures.
8 * See the file RATIONALE for a short explanation of why this module was written.
11 #ifndef PyOpenSSL_crypto_X509EXTENSION_H_
12 #define PyOpenSSL_crypto_X509EXTENSION_H_
15 #include <openssl/ssl.h>
16 #include <openssl/x509v3.h>
18 extern int init_crypto_x509extension (PyObject *);
20 extern PyTypeObject crypto_X509Extension_Type;
22 #define crypto_X509Extension_Check(v) ( \
23 PyObject_TypeCheck((v), \
24 &crypto_X509Extension_Type))
28 X509_EXTENSION *x509_extension;
30 } crypto_X509ExtensionObj;