File: pkcs7.h

package info (click to toggle)
pyopenssl 0.13-2%2Bdeb7u1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 1,752 kB
  • sloc: ansic: 7,372; python: 6,688; perl: 3,089; xml: 693; makefile: 191; sh: 54; lisp: 13; sed: 2
file content (30 lines) | stat: -rw-r--r-- 624 bytes parent folder | download
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
/*
 * pkcs7.h
 *
 * Copyright (C) AB Strakt
 * See LICENSE for details.
 *
 * Export pkcs7 functions and data structure.
 * See the file RATIONALE for a short explanation of why this module was written.
 *
 */
#ifndef PyOpenSSL_crypto_PKCS7_H_
#define PyOpenSSL_crypto_PKCS7_H_

#include <Python.h>
#include <openssl/pkcs7.h>

extern  int       init_crypto_pkcs7   (PyObject *);

extern  PyTypeObject      crypto_PKCS7_Type;

#define crypto_PKCS7_Check(v) ((v)->ob_type == &crypto_PKCS7_Type)

typedef struct {
    PyObject_HEAD
    PKCS7                *pkcs7;
    int                  dealloc;
} crypto_PKCS7Obj;


#endif