File: netscape_spki.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-- 643 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
/*
 * netscape_spki.h
 *
 * Copyright (C) Tollef Fog Heen
 * See LICENSE for details.
 *
 * Handle Netscape SPKI (challenge response) certificate requests.
 *
 *
 */
#ifndef PyOpenSSL_crypto_Netscape_SPKI_H_
#define PyOpenSSL_crypto_Netscape_SPKI_H_

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

extern  int     init_crypto_netscape_spki       (PyObject *);

extern  PyTypeObject      crypto_NetscapeSPKI_Type;

#define crypto_NetscapeSPKI_Check(v) ((v)->ob_type == &crypto_NetscapeSPKI_Type)

typedef struct {
    PyObject_HEAD
    NETSCAPE_SPKI           *netscape_spki;
    int                  dealloc;
} crypto_NetscapeSPKIObj;


#endif