Initial import to Tizen
[profile/ivi/python-pyOpenSSL.git] / OpenSSL / crypto / netscape_spki.h
1 /*
2  * netscape_spki.h
3  *
4  * Copyright (C) Tollef Fog Heen
5  * See LICENSE for details.
6  *
7  * Handle Netscape SPKI (challenge response) certificate requests.
8  *
9  *
10  */
11 #ifndef PyOpenSSL_crypto_Netscape_SPKI_H_
12 #define PyOpenSSL_crypto_Netscape_SPKI_H_
13
14 #include <Python.h>
15 #include <openssl/ssl.h>
16
17 extern  int     init_crypto_netscape_spki       (PyObject *);
18
19 extern  PyTypeObject      crypto_NetscapeSPKI_Type;
20
21 #define crypto_NetscapeSPKI_Check(v) ((v)->ob_type == &crypto_NetscapeSPKI_Type)
22
23 typedef struct {
24     PyObject_HEAD
25     NETSCAPE_SPKI           *netscape_spki;
26     int                  dealloc;
27 } crypto_NetscapeSPKIObj;
28
29
30 #endif