pkix_validate.h (1056B)
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_validate.h 6 * 7 * Header file for validateChain function 8 * 9 */ 10 11 #ifndef _PKIX_VALIDATE_H 12 #define _PKIX_VALIDATE_H 13 #include "pkix_tools.h" 14 15 #ifdef __cplusplus 16 extern "C" { 17 #endif 18 19 PKIX_Error * 20 pkix_CheckChain( 21 PKIX_List *certs, 22 PKIX_UInt32 numCerts, 23 PKIX_TrustAnchor *anchor, 24 PKIX_List *checkers, 25 PKIX_RevocationChecker *revChecker, 26 PKIX_List *buildCheckedExtOIDs, 27 PKIX_ProcessingParams *procParams, 28 PKIX_UInt32 *pCertCheckedIndex, 29 PKIX_UInt32 *pCheckerIndex, 30 PKIX_Boolean *pRevChecking, 31 PKIX_UInt32 *pReasonCode, 32 void **pNBIOContext, 33 PKIX_PL_PublicKey **pFinalSubjPubKey, 34 PKIX_PolicyNode **pPolicyTree, 35 PKIX_VerifyNode **pVerifyTree, 36 void *plContext); 37 38 #ifdef __cplusplus 39 } 40 #endif 41 42 #endif /* _PKIX_VALIDATE_H */