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_defaultcrlchecker.h andre@0: * andre@0: * Header file for default CRL function andre@0: * andre@0: */ andre@0: andre@0: #ifndef _PKIX_CRLCHECKER_H andre@0: #define _PKIX_CRLCHECKER_H andre@0: andre@0: #include "pkixt.h" andre@0: #include "pkix_revocationmethod.h" andre@0: #include "pkix_crlsel.h" andre@0: andre@0: #ifdef __cplusplus andre@0: extern "C" { andre@0: #endif andre@0: andre@0: /* NOTE: nbio logic removed. Will be replaced later. */ andre@0: andre@0: PKIX_Error * andre@0: pkix_CrlChecker_CheckLocal( andre@0: PKIX_PL_Cert *cert, andre@0: PKIX_PL_Cert *issuer, andre@0: PKIX_PL_Date *date, andre@0: pkix_RevocationMethod *checkerObject, andre@0: PKIX_ProcessingParams *procParams, andre@0: PKIX_UInt32 methodFlags, andre@0: PKIX_Boolean chainVerificationState, andre@0: PKIX_RevocationStatus *pRevStatus, andre@0: PKIX_UInt32 *reasonCode, andre@0: void *plContext); andre@0: andre@0: PKIX_Error * andre@0: pkix_CrlChecker_CheckExternal( andre@0: PKIX_PL_Cert *cert, andre@0: PKIX_PL_Cert *issuer, andre@0: PKIX_PL_Date *date, andre@0: pkix_RevocationMethod *checkerObject, andre@0: PKIX_ProcessingParams *procParams, andre@0: PKIX_UInt32 methodFlags, andre@0: PKIX_RevocationStatus *pRevStatus, andre@0: PKIX_UInt32 *reasonCode, andre@0: void **pNBIOContext, andre@0: void *plContext); andre@0: andre@0: PKIX_Error * andre@0: pkix_CrlChecker_Create(PKIX_RevocationMethodType methodType, andre@0: PKIX_UInt32 flags, andre@0: PKIX_UInt32 priority, andre@0: pkix_LocalRevocationCheckFn localRevChecker, andre@0: pkix_ExternalRevocationCheckFn externalRevChecker, andre@0: PKIX_List *certStores, andre@0: PKIX_PL_VerifyCallback crlVerifyFn, andre@0: pkix_RevocationMethod **pChecker, andre@0: void *plContext); andre@0: andre@0: PKIX_Error * andre@0: pkix_CrlChecker_RegisterSelf(void *plContext); andre@0: andre@0: #ifdef __cplusplus andre@0: } andre@0: #endif andre@0: andre@0: #endif /* _PKIX_CRLCHECKER_H */