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_certchainchecker.h
6 *
7 * CertChainChecker Object Type Definition
8 *
9 */
11 #ifndef _PKIX_CERTCHAINCHECKER_H
12 #define _PKIX_CERTCHAINCHECKER_H
14 #include "pkix_tools.h"
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
20 struct PKIX_CertChainCheckerStruct {
21 PKIX_CertChainChecker_CheckCallback checkCallback;
22 PKIX_List *extensions;
23 PKIX_PL_Object *state;
24 PKIX_Boolean forwardChecking;
25 PKIX_Boolean isForwardDirectionExpected;
26 };
28 /* see source file for function documentation */
30 PKIX_Error *pkix_CertChainChecker_RegisterSelf(void *plContext);
32 #ifdef __cplusplus
33 }
34 #endif
36 #endif /* _PKIX_CERTCHAINCHECKER_H */