1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/security/nss/lib/libpkix/pkix/store/pkix_store.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,41 @@ 1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.7 +/* 1.8 + * pkix_store.h 1.9 + * 1.10 + * CertStore Object Type Definition 1.11 + * 1.12 + */ 1.13 + 1.14 +#ifndef _PKIX_STORE_H 1.15 +#define _PKIX_STORE_H 1.16 + 1.17 +#include "pkix_tools.h" 1.18 + 1.19 +#ifdef __cplusplus 1.20 +extern "C" { 1.21 +#endif 1.22 + 1.23 +struct PKIX_CertStoreStruct { 1.24 + PKIX_CertStore_CertCallback certCallback; 1.25 + PKIX_CertStore_CRLCallback crlCallback; 1.26 + PKIX_CertStore_CertContinueFunction certContinue; 1.27 + PKIX_CertStore_CrlContinueFunction crlContinue; 1.28 + PKIX_CertStore_CheckTrustCallback trustCallback; 1.29 + PKIX_CertStore_ImportCrlCallback importCrlCallback; 1.30 + PKIX_CertStore_CheckRevokationByCrlCallback checkRevByCrlCallback; 1.31 + PKIX_PL_Object *certStoreContext; 1.32 + PKIX_Boolean cacheFlag; 1.33 + PKIX_Boolean localFlag; /* TRUE if CertStore is local */ 1.34 +}; 1.35 + 1.36 +/* see source file for function documentation */ 1.37 + 1.38 +PKIX_Error *pkix_CertStore_RegisterSelf(void *plContext); 1.39 + 1.40 +#ifdef __cplusplus 1.41 +} 1.42 +#endif 1.43 + 1.44 +#endif /* _PKIX_STORE_H */