1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
|
/*
* x509name.h
*
* Copyright (C) AB Strakt
* See LICENSE for details.
*
* Export X.509 name functions and data structures.
* See the file RATIONALE for a short explanation of why this module was written.
*
* Reviewed 2001-07-23
*
*/
#ifndef PyOpenSSL_crypto_X509NAME_H_
#define PyOpenSSL_crypto_X509NAME_H_
#include <Python.h>
#include <openssl/ssl.h>
extern int init_crypto_x509name (PyObject *);
extern PyTypeObject crypto_X509Name_Type;
#define crypto_X509Name_Check(v) ((v)->ob_type == &crypto_X509Name_Type)
typedef struct {
PyObject_HEAD
X509_NAME *x509_name;
int dealloc;
PyObject *parent_cert;
} crypto_X509NameObj;
#endif
|