pam_pkcs11
0.6.12
src
common
cert_st.h
Go to the documentation of this file.
1
/*
2
* PKCS #11 PAM Login Module
3
* Copyright (C) 2003-2004 Mario Strasser <mast@gmx.net>
4
* Copyright (C) 2005 Juan Antonio Martinez <jonsito@teleline.es>
5
*
6
* This library is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU Lesser General Public
8
* License as published by the Free Software Foundation; either
9
* version 2.1 of the License, or (at your option) any later version.
10
*
11
* This library is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
* Lesser General Public License for more details.
15
*
16
* $Id$
17
*/
18
19
#ifndef _CERT_ST_H
20
#define _CERT_ST_H
21
22
#ifdef HAVE_CONFIG_H
23
#include <config.h>
24
#endif
25
26
typedef
struct
cert_policy_st
cert_policy
;
27
28
#ifdef HAVE_NSS
29
#include <cert.h>
30
#include <secoidt.h>
31
typedef
SECOidTag
ALGORITHM_TYPE
;
32
#define ALGORITHM_NULL SEC_OID_UNKNOWN
33
/* we really should make a neutral define for this */
34
#define X509 CERTCertificate
35
#else
36
#include "
../common/pam-pkcs11-ossl-compat.h
"
37
#include <openssl/x509.h>
38
typedef
const
char
*
ALGORITHM_TYPE
;
39
#define ALGORITHM_NULL NULL
40
#endif
41
42
43
#endif
/* _CERT_ST_H */
cert_policy
struct cert_policy_st cert_policy
Definition
cert_st.h:26
ALGORITHM_TYPE
const char * ALGORITHM_TYPE
Definition
cert_st.h:38
pam-pkcs11-ossl-compat.h
cert_policy_st
Definition
cert_vfy.h:48
Generated by
1.13.2