michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: /* michael@0: * pkix_store.h michael@0: * michael@0: * CertStore Object Type Definition michael@0: * michael@0: */ michael@0: michael@0: #ifndef _PKIX_STORE_H michael@0: #define _PKIX_STORE_H michael@0: michael@0: #include "pkix_tools.h" michael@0: michael@0: #ifdef __cplusplus michael@0: extern "C" { michael@0: #endif michael@0: michael@0: struct PKIX_CertStoreStruct { michael@0: PKIX_CertStore_CertCallback certCallback; michael@0: PKIX_CertStore_CRLCallback crlCallback; michael@0: PKIX_CertStore_CertContinueFunction certContinue; michael@0: PKIX_CertStore_CrlContinueFunction crlContinue; michael@0: PKIX_CertStore_CheckTrustCallback trustCallback; michael@0: PKIX_CertStore_ImportCrlCallback importCrlCallback; michael@0: PKIX_CertStore_CheckRevokationByCrlCallback checkRevByCrlCallback; michael@0: PKIX_PL_Object *certStoreContext; michael@0: PKIX_Boolean cacheFlag; michael@0: PKIX_Boolean localFlag; /* TRUE if CertStore is local */ michael@0: }; michael@0: michael@0: /* see source file for function documentation */ michael@0: michael@0: PKIX_Error *pkix_CertStore_RegisterSelf(void *plContext); michael@0: michael@0: #ifdef __cplusplus michael@0: } michael@0: #endif michael@0: michael@0: #endif /* _PKIX_STORE_H */