blob: 32c9ec4ecf0f55e3f00cf1669b41cab8fee20225 [file] [log] [blame]
/*
* pkcs12.h
*
* Copyright (C) AB Strakt 2001, All rights reserved
*
* Export PKCS12 functions and data structure.
*
* @(#) $$
*/
#ifndef PyOpenSSL_crypto_PKCS12_H_
#define PyOpenSSL_crypto_PKCS12_H_
#include <Python.h>
#include <openssl/pkcs12.h>
#include <openssl/asn1.h>
extern int init_crypto_pkcs12 (PyObject *);
extern PyTypeObject crypto_PKCS12_Type;
#define crypto_PKCS12_Check(v) ((v)->ob_type == &crypto_PKCS12_Type)
typedef struct {
PyObject_HEAD
PyObject *cert;
PyObject *key;
PyObject *cacerts;
} crypto_PKCS12Obj;
#endif