4 * Copyright (C) AB Strakt
5 * See LICENSE for details.
7 * Export x509 functions and data structure.
8 * See the file RATIONALE for a short explanation of why this module was written.
13 #ifndef PyOpenSSL_crypto_X509_H_
14 #define PyOpenSSL_crypto_X509_H_
17 #include <openssl/ssl.h>
19 extern PyTypeObject crypto_X509_Type;
21 #define crypto_X509_Check(v) ((v)->ob_type == &crypto_X509_Type)
29 PyObject* _set_asn1_time(char *format, ASN1_TIME* timestamp, PyObject *args);
30 PyObject* _get_asn1_time(char *format, ASN1_TIME* timestamp, PyObject *args);
31 extern int init_crypto_x509 (PyObject *);