]> git.saurik.com Git - apple/security.git/blob - SecurityTests/clxutils/cgVerifyParsed/tpVerifyParsed.h
Security-57031.30.12.tar.gz
[apple/security.git] / SecurityTests / clxutils / cgVerifyParsed / tpVerifyParsed.h
1 /*
2 * tpVerifyParsed.h - wrapper for CSSM_TP_CertGroupVerify using parsd anchors.
3 */
4
5 #ifndef _TP_VERIFY_PARSED_H_
6 #define _TP_VERIFY_PARSED_H_
7
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11
12 CSSM_RETURN tpCertGroupVerifyParsed(
13 CSSM_TP_HANDLE tpHand,
14 CSSM_CL_HANDLE clHand,
15 CSSM_CSP_HANDLE cspHand,
16 CSSM_DL_DB_LIST_PTR dbListPtr,
17 const CSSM_OID *policy, // optional
18 const CSSM_DATA *fieldOpts, // optional
19 const CSSM_DATA *actionData, // optional
20 void *policyOpts,
21 const CSSM_CERTGROUP *certGroup,
22 CSSM_DATA_PTR anchorCerts,
23 unsigned numAnchorCerts,
24 CSSM_TP_STOP_ON stopOn, // CSSM_TP_STOP_ON_POLICY, etc.
25 CSSM_TIMESTRING cssmTimeStr, // optional
26 CSSM_TP_VERIFY_CONTEXT_RESULT_PTR result); // optional, RETURNED
27
28 #ifdef __cplusplus
29 }
30 #endif
31
32 #endif /* _TP_VERIFY_PARSED_H_ */
33