blob: 32c9ec4ecf0f55e3f00cf1669b41cab8fee20225 [file] [log] [blame]
Jean-Paul Calderone897bc252008-02-18 20:50:23 -05001/*
2 * pkcs12.h
3 *
4 * Copyright (C) AB Strakt 2001, All rights reserved
5 *
6 * Export PKCS12 functions and data structure.
7 *
8 * @(#) $$
9 */
10#ifndef PyOpenSSL_crypto_PKCS12_H_
11#define PyOpenSSL_crypto_PKCS12_H_
12
13#include <Python.h>
14#include <openssl/pkcs12.h>
15#include <openssl/asn1.h>
16
17extern int init_crypto_pkcs12 (PyObject *);
18
19extern PyTypeObject crypto_PKCS12_Type;
20
21#define crypto_PKCS12_Check(v) ((v)->ob_type == &crypto_PKCS12_Type)
22
23typedef struct {
24 PyObject_HEAD
25 PyObject *cert;
26 PyObject *key;
27 PyObject *cacerts;
28} crypto_PKCS12Obj;
29
30#endif