1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/security/nss/lib/libpkix/pkix/top/pkix_validate.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,42 @@ 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_validate.h 1.9 + * 1.10 + * Header file for validateChain function 1.11 + * 1.12 + */ 1.13 + 1.14 +#ifndef _PKIX_VALIDATE_H 1.15 +#define _PKIX_VALIDATE_H 1.16 +#include "pkix_tools.h" 1.17 + 1.18 +#ifdef __cplusplus 1.19 +extern "C" { 1.20 +#endif 1.21 + 1.22 +PKIX_Error * 1.23 +pkix_CheckChain( 1.24 + PKIX_List *certs, 1.25 + PKIX_UInt32 numCerts, 1.26 + PKIX_TrustAnchor *anchor, 1.27 + PKIX_List *checkers, 1.28 + PKIX_RevocationChecker *revChecker, 1.29 + PKIX_List *buildCheckedExtOIDs, 1.30 + PKIX_ProcessingParams *procParams, 1.31 + PKIX_UInt32 *pCertCheckedIndex, 1.32 + PKIX_UInt32 *pCheckerIndex, 1.33 + PKIX_Boolean *pRevChecking, 1.34 + PKIX_UInt32 *pReasonCode, 1.35 + void **pNBIOContext, 1.36 + PKIX_PL_PublicKey **pFinalSubjPubKey, 1.37 + PKIX_PolicyNode **pPolicyTree, 1.38 + PKIX_VerifyNode **pVerifyTree, 1.39 + void *plContext); 1.40 + 1.41 +#ifdef __cplusplus 1.42 +} 1.43 +#endif 1.44 + 1.45 +#endif /* _PKIX_VALIDATE_H */