]>
git.saurik.com Git - apple/security.git/blob - SecurityTests/clxutils/p12/p12.h
2 * p12.h - catch-all header for declarations of various test modules
8 #include <CoreFoundation/CoreFoundation.h>
9 #include <Security/Security.h>
12 extern int p12ParseTop(
14 CSSM_CSP_HANDLE cspHand
,
18 /* in p12Decode.cpp */
19 extern OSStatus
p12Decode(
21 CSSM_CSP_HANDLE cspHand
,
22 CFStringRef pwd
, // explicit passphrase, mutually exclusive with...
23 bool usePassKey
, // use SECURE_PASSPHRASE key
27 /* in p12Encode.cpp */
28 extern int p12Reencode(
30 CSSM_CSP_HANDLE cspHand
,
31 CFStringRef pwd
, // explicit passphrase
35 /* in p12ImportExport.cpp */
39 CFStringRef pwd
, // explicit passphrase, mutually exclusive with...
40 bool usePassKey
, // use SECURE_PASSPHRASE key
41 const char *kcPwd
); // optional
46 CFStringRef pwd
, // explicit passphrase, mutually exclusive with...
47 bool usePassKey
, // use SECURE_PASSPHRASE key
48 const char *kcPwd
, // optional
49 bool noPrompt
); // true --> export all
52 #endif /* __P12_P12_H__ */