Jean-Paul Calderone | 897bc25 | 2008-02-18 20:50:23 -0500 | [diff] [blame] | 1 | /* |
| 2 | * netscape_spki.h |
| 3 | * |
| 4 | * Copyright (C) Tollef Fog Heen 2003, All rights reserved |
| 5 | * |
| 6 | * Handle Netscape SPKI (challenge response) certificate requests. |
| 7 | * |
| 8 | * |
| 9 | */ |
| 10 | #ifndef PyOpenSSL_crypto_Netscape_SPKI_H_ |
| 11 | #define PyOpenSSL_crypto_Netscape_SPKI_H_ |
| 12 | |
| 13 | #include <Python.h> |
| 14 | #include <openssl/ssl.h> |
| 15 | |
| 16 | extern int init_crypto_netscape_spki (PyObject *); |
| 17 | |
| 18 | extern PyTypeObject crypto_NetscapeSPKI_Type; |
| 19 | |
| 20 | #define crypto_NetscapeSPKI_Check(v) ((v)->ob_type == &crypto_NetscapeSPKI_Type) |
| 21 | |
| 22 | typedef struct { |
| 23 | PyObject_HEAD |
| 24 | NETSCAPE_SPKI *netscape_spki; |
| 25 | int dealloc; |
| 26 | } crypto_NetscapeSPKIObj; |
| 27 | |
| 28 | |
| 29 | #endif |