comparison nss/lib/libpkix/pkix/checker/pkix_signaturechecker.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_signaturechecker.h
6 *
7 * Header file for validate signature function
8 *
9 */
10
11 #ifndef _PKIX_SIGNATURECHECKER_H
12 #define _PKIX_SIGNATURECHECKER_H
13
14 #include "pkix_tools.h"
15
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19
20 typedef struct pkix_SignatureCheckerState pkix_SignatureCheckerState;
21
22 struct pkix_SignatureCheckerState {
23 PKIX_Boolean prevCertCertSign;
24 PKIX_UInt32 certsRemaining;
25 PKIX_PL_PublicKey *prevPublicKey; /* Subject PubKey of last cert */
26 PKIX_List *prevPublicKeyList; /* of PKIX_PL_PublicKey */
27 PKIX_PL_OID *keyUsageOID;
28 };
29
30 PKIX_Error *
31 pkix_SignatureChecker_Initialize(
32 PKIX_PL_PublicKey *trustedPubKey,
33 PKIX_UInt32 certsRemaining,
34 PKIX_CertChainChecker **pChecker,
35 void *plContext);
36
37 PKIX_Error *
38 pkix_SignatureCheckerState_RegisterSelf(void *plContext);
39
40 #ifdef __cplusplus
41 }
42 #endif
43
44 #endif /* _PKIX_SIGNATURECHECKER_H */
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)