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_store.h
6 *
7 * CertStore Object Type Definition
8 *
9 */
11 #ifndef _PKIX_STORE_H
12 #define _PKIX_STORE_H
14 #include "pkix_tools.h"
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
20 struct PKIX_CertStoreStruct {
21 PKIX_CertStore_CertCallback certCallback;
22 PKIX_CertStore_CRLCallback crlCallback;
23 PKIX_CertStore_CertContinueFunction certContinue;
24 PKIX_CertStore_CrlContinueFunction crlContinue;
25 PKIX_CertStore_CheckTrustCallback trustCallback;
26 PKIX_CertStore_ImportCrlCallback importCrlCallback;
27 PKIX_CertStore_CheckRevokationByCrlCallback checkRevByCrlCallback;
28 PKIX_PL_Object *certStoreContext;
29 PKIX_Boolean cacheFlag;
30 PKIX_Boolean localFlag; /* TRUE if CertStore is local */
31 };
33 /* see source file for function documentation */
35 PKIX_Error *pkix_CertStore_RegisterSelf(void *plContext);
37 #ifdef __cplusplus
38 }
39 #endif
41 #endif /* _PKIX_STORE_H */