Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
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_validate.h
6 *
7 * Header file for validateChain function
8 *
9 */
11 #ifndef _PKIX_VALIDATE_H
12 #define _PKIX_VALIDATE_H
13 #include "pkix_tools.h"
15 #ifdef __cplusplus
16 extern "C" {
17 #endif
19 PKIX_Error *
20 pkix_CheckChain(
21 PKIX_List *certs,
22 PKIX_UInt32 numCerts,
23 PKIX_TrustAnchor *anchor,
24 PKIX_List *checkers,
25 PKIX_RevocationChecker *revChecker,
26 PKIX_List *buildCheckedExtOIDs,
27 PKIX_ProcessingParams *procParams,
28 PKIX_UInt32 *pCertCheckedIndex,
29 PKIX_UInt32 *pCheckerIndex,
30 PKIX_Boolean *pRevChecking,
31 PKIX_UInt32 *pReasonCode,
32 void **pNBIOContext,
33 PKIX_PL_PublicKey **pFinalSubjPubKey,
34 PKIX_PolicyNode **pPolicyTree,
35 PKIX_VerifyNode **pVerifyTree,
36 void *plContext);
38 #ifdef __cplusplus
39 }
40 #endif
42 #endif /* _PKIX_VALIDATE_H */