Mercurial > trustbridge > nss-cmake-static
comparison nss/lib/libpkix/pkix/checker/pkix_nameconstraintschecker.h @ 0:1e5118fa0cb1
This is NSS with a Cmake Buildsyste
To compile a static NSS library for Windows we've used the
Chromium-NSS fork and added a Cmake buildsystem to compile
it statically for Windows. See README.chromium for chromium
changes and README.trustbridge for our modifications.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Mon, 28 Jul 2014 10:47:06 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:1e5118fa0cb1 |
---|---|
1 /* This Source Code Form is subject to the terms of the Mozilla Public | |
2 * License, v. 2.0. If a copy of the MPL was not distributed with this | |
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
4 /* | |
5 * pkix_nameconstraintschecker.h | |
6 * | |
7 * Header file for validate Name Constraints Checker function | |
8 * | |
9 */ | |
10 | |
11 #ifndef _PKIX_NAMECONSTRAINTSCHECKER_H | |
12 #define _PKIX_NAMECONSTRAINTSCHECKER_H | |
13 | |
14 #include "pkix_tools.h" | |
15 | |
16 #ifdef __cplusplus | |
17 extern "C" { | |
18 #endif | |
19 | |
20 typedef struct pkix_NameConstraintsCheckerState \ | |
21 pkix_NameConstraintsCheckerState; | |
22 | |
23 struct pkix_NameConstraintsCheckerState { | |
24 PKIX_PL_CertNameConstraints *nameConstraints; | |
25 PKIX_PL_OID *nameConstraintsOID; | |
26 PKIX_UInt32 certsRemaining; | |
27 }; | |
28 | |
29 PKIX_Error * | |
30 pkix_NameConstraintsChecker_Initialize( | |
31 PKIX_PL_CertNameConstraints *trustedNC, | |
32 PKIX_UInt32 numCerts, | |
33 PKIX_CertChainChecker **pChecker, | |
34 void *plContext); | |
35 | |
36 PKIX_Error * | |
37 pkix_NameConstraintsCheckerState_RegisterSelf(void *plContext); | |
38 | |
39 #ifdef __cplusplus | |
40 } | |
41 #endif | |
42 | |
43 #endif /* _PKIX_NAMECONSTRAINTSCHECKER_H */ |