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