Go to the documentation of this file.
17 #if defined( __OS400__ )
19 #define TEST_PRIVKEY_FILE "testlib/zkeytest"
20 #define TEST_PRIVKEY_TMP_FILE "testlib/zkeytstt"
21 #define TEST_PRIVKEY_ALT_FILE "testlib/zkeytsta"
22 #define CA_PRIVKEY_FILE "testlib/zkeyca"
23 #define ICA_PRIVKEY_FILE "testlib/zkeycai"
24 #define SCEPCA_PRIVKEY_FILE "testlib/zkeycas"
25 #define USER_PRIVKEY_FILE "testlib/zkeyuser"
26 #define DUAL_PRIVKEY_FILE "testlib/zkeydual"
27 #define RENEW_PRIVKEY_FILE "testlib/zkeyrene"
28 #define P15_FILE_TEMPLATE "testlib/zkeyp15%d"
29 #define CMP_PRIVKEY_FILE_TEMPLATE "testlib/zkeycmp"
30 #define PNP_PRIVKEY_FILE "testlib/zkeypnpu"
31 #define PNPCA_PRIVKEY_FILE "testlib/zkeypnpc"
32 #define SERVER_PRIVKEY_FILE_TEMPLATE "testlib/zkeysrv%d"
33 #define SERVER_ECPRIVKEY_FILE_TEMPLATE "testlib/zkeysrp%d"
34 #define SSH_PRIVKEY_FILE_TEMPLATE "testlib/zkeyssh%d"
35 #define SSL_CLI_PRIVKEY_FILE "testlib/zkeysslc"
36 #define TSA_PRIVKEY_FILE "testlib/zkeytsa"
37 #define MISC_PRIVKEY_FILE_TEMPLATE "testlib/zkeymis%d"
38 #define PKCS12_FILE_TEMPLATE "testlib/zkeyp12%d"
40 #define PGP_PUBKEY_FILE "testlib/zpubring"
41 #define PGP_PRIVKEY_FILE "testlib/zsecring"
42 #define OPENPGP_PUBKEY_FILE "testlib/zpubringg"
43 #define OPENPGP_PRIVKEY_HASH_FILE "testlib/zsechash"
44 #define OPENPGP_PUBKEY_AES_FILE "testlib/zpubaes"
45 #define OPENPGP_PRIVKEY_AES_FILE "testlib/zsecaes"
46 #define OPENPGP_PUBKEY_RSA_FILE "testlib/zpubrsa"
47 #define OPENPGP_PRIVKEY_RSA_FILE "testlib/zsecrsa"
48 #define OPENPGP_PRIVKEY_PART_FILE "testlib/zsecpart"
49 #define NAIPGP_PUBKEY_FILE "testlib/zpubnai"
50 #define NAIPGP_PRIVKEY_FILE "testlib/zsecnai"
52 #define CERT_FILE_TEMPLATE "testlib/zcert%02d"
53 #define BASE64CERT_FILE_TEMPLATE "testlib/zcerta%d"
54 #define ECC_CERT_FILE_TEMPLATE "testlib/zeccert%02d"
55 #define BROKEN_CERT_FILE "testlib/zcertb"
56 #define BROKEN_USER_CERT_FILE "testlib/zcertbus"
57 #define BROKEN_CA_CERT_FILE "testlib/zcertbca"
58 #define CERTREQ_FILE_TEMPLATE "testlib/zcertreq%d"
59 #define CRL_FILE_TEMPLATE "testlib/zcrl%d"
60 #define CERTCHAIN_FILE_TEMPLATE "testlib/zcertchn%d"
61 #define BASE64CERTCHAIN_FILE_TEMPLATE "testlib/zcertcha%d"
62 #define PATHTEST_FILE_TEMPLATE "testlib/zntest%d"
63 #define PADTEST_FILE_TEMPLATE "testlib/zbadsig%d"
64 #define SSHKEY_FILE_TEMPLATE "testlib/zsshkey%d"
65 #define PGPKEY_FILE_TEMPLATE "testlib/zpgpkey%d"
66 #define PGPASCKEY_FILE_TEMPLATE "testlib/zpgpkea%d"
67 #define NOCHAIN_EE_FILE "testlib/znochn_ee"
68 #define NOCHAIN_CA_FILE "testlib/znochn_ca"
69 #define RTCS_OK_FILE "testlib/zrtcsok"
70 #define OCSP_OK_FILE "testlib/zocsprok"
71 #define OCSP_REV_FILE "testlib/zocsprre"
72 #define OCSP_CA_FILE "testlib/zocspca"
73 #define CRLCERT_FILE_TEMPLATE "testlib/zcrlcrt%d"
74 #define RTCS_FILE_TEMPLATE "testlib/zrtcsee%do"
75 #define OCSP_CA_FILE_TEMPLATE "testlib/zocspca%d"
76 #define OCSP_EEOK_FILE_TEMPLATE "testlib/zocspok%d"
77 #define OCSP_EEREV_FILE_TEMPLATE "testlib/zocspre%d"
78 #define CMP_CA_FILE_TEMPLATE "testlib/zcmpca%d"
79 #define SCEP_CA_FILE_TEMPLATE "testlib/zscepca%d"
81 #define CMS_ENC_FILE_TEMPLATE "testlib/zspwenc%d"
82 #define SMIME_SIG_FILE_TEMPLATE "testlib/zsigned%d"
83 #define SMIME_ENV_FILE_TEMPLATE "testlib/zsenvel%d"
84 #define PGP_ENC_FILE_TEMPLATE "testlib/zconven%d"
85 #define PGP_PKE_FILE_TEMPLATE "testlib/zpgpenc%d"
86 #define OPENPGP_PKE_FILE_TEMPLATE "testlib/zgpgenc%d"
87 #define PGP_SIG_FILE_TEMPLATE "testlib/zsigned%d"
88 #define PGP_COPR_FILE_TEMPLATE "testlib/zcopr%d"
90 #define TESTDATA_FILE_TEMPLATE "testlib/ztestd%d"
91 #define COMPRESS_FILE "test/filename"
99 #elif defined( __MWERKS__ ) || defined( SYMANTEC_C ) || defined( __MRC__ )
101 #define TEST_PRIVKEY_FILE ":test:keys:test.p15"
102 #define TEST_PRIVKEY_TMP_FILE ":test:keys:test_tmp.p15"
103 #define TEST_PRIVKEY_ALT_FILE ":test:keys:test.p12"
104 #define CA_PRIVKEY_FILE ":test:keys:ca.p15"
105 #define ICA_PRIVKEY_FILE ":test:keys:ca_int.p15"
106 #define SCEPCA_PRIVKEY_FILE ":test:keys:ca_cert.p15"
107 #define USER_PRIVKEY_FILE ":test:keys:user.p15"
108 #define DUAL_PRIVKEY_FILE ":test:keys:dual.p15"
109 #define RENEW_PRIVKEY_FILE ":test:keys:renewed.p15"
110 #define P15_FILE_TEMPLATE ":test:keys:pkcs15_%d.p15"
111 #define CMP_PRIVKEY_FILE_TEMPLATE ":test:keys:cmp%d.p15"
112 #define PNP_PRIVKEY_FILE ":test:keys:pnp_user.p15"
113 #define PNPCA_PRIVKEY_FILE ":test:keys:pnp_ca.p15"
114 #define SERVER_PRIVKEY_FILE_TEMPLATE ":test:keys:server%d.p15"
115 #define SERVER_ECPRIVKEY_FILE_TEMPLATE ":test:keys:serverp%d.p15"
116 #define SSH_PRIVKEY_FILE_TEMPLATE ":test:keys:ssh%d.p15"
117 #define SSL_CLI_PRIVKEY_FILE ":test:keys:ssl_cli.p15"
118 #define TSA_PRIVKEY_FILE ":test:keys:tsa.p15"
119 #define MISC_PRIVKEY_FILE_TEMPLATE ":test:keys:misc%d.p15"
120 #define PKCS12_FILE_TEMPLATE ":test:keys:pkcs12_%d.p12"
122 #define PGP_PUBKEY_FILE ":test:pgp:pubring.pgp"
123 #define PGP_PRIVKEY_FILE ":test:pgp:secring.pgp"
124 #define OPENPGP_PUBKEY_HASH_FILE ":test:pgp:pub_hash.gpg"
125 #define OPENPGP_PRIVKEY_HASH_FILE ":test:pgp:sec_hash.gpg"
126 #define OPENPGP_PUBKEY_AES_FILE ":test:pgp:pub_aes.pkr"
127 #define OPENPGP_PRIVKEY_AES_FILE ":test:pgp:sec_aes.skr"
128 #define OPENPGP_PUBKEY_RSA_FILE ":test:pgp:pub_rsa.gpg"
129 #define OPENPGP_PRIVKEY_RSA_FILE ":test:pgp:sec_rsa.gpg"
130 #define OPENPGP_PRIVKEY_PART_FILE ":test:pgp:sec_part.gpg"
131 #define NAIPGP_PUBKEY_FILE ":test:pgp:pub_nai.pkr"
132 #define NAIPGP_PRIVKEY_FILE ":test:pgp:sec_nai.skr"
134 #define CERT_FILE_TEMPLATE ":test:certs:cert%02d.der"
135 #define BASE64CERT_FILE_TEMPLATE ":test:certs:cert%d.asc"
136 #define ECC_CERT_FILE_TEMPLATE ":test:certs:eccert%02d.der"
137 #define BROKEN_CERT_FILE ":test:certs:broken.der"
138 #define BROKEN_USER_CERT_FILE ":test:certs:broken_ee.der"
139 #define BROKEN_CA_CERT_FILE ":test:certs:broken_ca.der"
140 #define CERTREQ_FILE_TEMPLATE ":test:certs:certreq%d.der"
141 #define CRL_FILE_TEMPLATE ":test:certs:crl%d.crl"
142 #define CERTCHAIN_FILE_TEMPLATE ":test:certs:certchn%d.der"
143 #define BASE64CERTCHAIN_FILE_TEMPLATE ":test:certs:certchn%d.asc"
144 #define PATHTEST_FILE_TEMPLATE ":test:nist:ntest%d.p7s"
145 #define PADTEST_FILE_TEMPLATE ":test:certs:badsig%d.der"
146 #define SSHKEY_FILE_TEMPLATE ":test:misc:sshkey%d.asc"
147 #define PGPKEY_FILE_TEMPLATE ":test:pgp:pubkey%d.pgp"
148 #define PGPASCKEY_FILE_TEMPLATE ":test:pgp:pubkey%d.asc"
149 #define NOCHAIN_EE_FILE ":test:misc:nochn_ee.der"
150 #define NOCHAIN_CA_FILE ":test:misc:nochn_ca.der"
151 #define RTCS_OK_FILE ":test:misc:rtcsrok.der"
152 #define OCSP_OK_FILE ":test:session:ocspr_ok.der"
153 #define OCSP_REV_FILE ":test:session:ocspr_re.der"
154 #define OCSP_CA_FILE ":test:session:ocspca.der"
155 #define CRLCERT_FILE_TEMPLATE ":test:misc:crl_cert%d.der"
156 #define RTCS_FILE_TEMPLATE ":test:misc:rtcs_ee%do.der"
157 #define OCSP_CA_FILE_TEMPLATE ":test:session:ocsp_ca%d.der"
158 #define OCSP_EEOK_FILE_TEMPLATE ":test:session:ocsp_ok%d.der"
159 #define OCSP_EEREV_FILE_TEMPLATE ":test:session:ocsp_re%d.der"
160 #define CMP_CA_FILE_TEMPLATE ":test:session:cmp_ca%d.der"
161 #define SCEP_CA_FILE_TEMPLATE ":test:session:scep_ca%d.der"
163 #define CMS_ENC_FILE_TEMPLATE ":test:smime:pwenc%d.p7m"
164 #define SMIME_SIG_FILE_TEMPLATE ":test:smime:signed%d.p7s"
165 #define SMIME_ENV_FILE_TEMPLATE ":test:smime:envel%d.p7m"
166 #define PGP_ENC_FILE_TEMPLATE ":test:pgp:conv_enc%d.pgp"
167 #define PGP_PKE_FILE_TEMPLATE ":test:pgp:pgp_enc%d.pgp"
168 #define OPENPGP_PKE_FILE_TEMPLATE ":test:pgp:gpg_enc%d.gpg"
169 #define PGP_SIG_FILE_TEMPLATE ":test:pgp:signed%d.pgp"
170 #define PGP_COPR_FILE_TEMPLATE ":test:pgp:copr%d.pgp"
172 #define TESTDATA_FILE_TEMPLATE ":test:misc:testdata%d.dat"
173 #define COMPRESS_FILE ":test:filename.h"
181 #elif defined( DDNAME_IO )
183 #define TEST_PRIVKEY_FILE "DD:CLBTEST"
184 #define TEST_PRIVKEY_TMP_FILE "DD:CLBTESTT"
185 #define TEST_PRIVKEY_ALT_FILE "DD:CLBTESTA"
186 #define CA_PRIVKEY_FILE "DD:CLBP15(KEYCA)"
187 #define ICA_PRIVKEY_FILE "DD:CLBP15(KEYCAI)"
188 #define SCEPCA_PRIVKEY_FILE "DD:CLBP15(KEYCAS)"
189 #define USER_PRIVKEY_FILE "DD:CLBP15(KEYUSER)"
190 #define DUAL_PRIVKEY_FILE "DD:CLBP15(KEYDUAL)"
191 #define RENEW_PRIVKEY_FILE "DD:CLBP15(KEYRENE)"
192 #define P15_FILE_TEMPLATE "DD:CLBP15(KEYP15%d)"
193 #define CMP_PRIVKEY_FILE_TEMPLATE "DD:CLBP15(KEYCMP%d)"
194 #define PNP_PRIVKEY_FILE "DD:CLBP15(KEYPNPU)"
195 #define PNPCA_PRIVKEY_FILE "DD:CLBP15(KEYPNPC)"
196 #define SERVER_PRIVKEY_FILE_TEMPLATE "DD:CLBP15(KEYSRV%d)"
197 #define SERVER_ECPRIVKEY_FILE_TEMPLATE "DD:CLBP15(KEYSRP%d)"
198 #define SSH_PRIVKEY_FILE_TEMPLATE "DD:CLBP15(KEYSSH%d)"
199 #define SSL_CLI_PRIVKEY_FILE "DD:CLBP15(KEYSSLC)"
200 #define TSA_PRIVKEY_FILE "DD:CLBP15(KEYTSA)"
201 #define MISC_PRIVKEY_FILE_TEMPLATE "DD:CLBP15(KEYMIS%d)"
202 #define PKCS12_FILE_TEMPLATE "DD:CLBP12(KEYP12%d)"
204 #define PGP_PUBKEY_FILE "DD:CLBPGP(PUBRING)"
205 #define PGP_PRIVKEY_FILE "DD:CLBPGP(SECRING)"
206 #define OPENPGP_PUBKEY_HASH_FILE "DD:CLBGPG(PUBHASH)"
207 #define OPENPGP_PRIVKEY_HASH_FILE "DD:CLBGPG(SECHASH)"
208 #define OPENPGP_PUBKEY_AES_FILE "DD:CLBPKR(PUBAES)"
209 #define OPENPGP_PRIVKEY_AES_FILE "DD:CLBSKR(SECAES)"
210 #define OPENPGP_PUBKEY_RSA_FILE "DD:CLBGPG(PUBRSA)"
211 #define OPENPGP_PRIVKEY_RSA_FILE "DD:CLBGPG(SECRSA)"
212 #define OPENPGP_PRIVKEY_PART_FILE "DD:CLBGPG(SECPART)"
213 #define NAIPGP_PUBKEY_FILE "DD:CLBPKR(PUBNAI)"
214 #define NAIPGP_PRIVKEY_FILE "DD:CLBSKR(SECNAI)"
216 #define CERT_FILE_TEMPLATE "DD:CLBDER(CERT%02d)"
217 #define BASE64CERT_FILE_TEMPLATE "DD:CLBDER(CERT%d)"
218 #define ECC_CERT_FILE_TEMPLATE "DD:CLBDER(ECCERT%02d)"
219 #define BROKEN_CERT_FILE "DD:CLBDER(CERTB)"
220 #define BROKEN_USER_CERT_FILE "DD:CLBDER(CERTBUS)"
221 #define BROKEN_CA_CERT_FILE "DD:CLBDER(CERTBCA)"
222 #define CERTREQ_FILE_TEMPLATE "DD:CLBDER(CERTREQ%d)"
223 #define CRL_FILE_TEMPLATE "DD:CLBDER(CRL%d)"
224 #define CERTCHAIN_FILE_TEMPLATE "DD:CLBDER(CERTCHN%d)"
225 #define BASE64CERTCHAIN_FILE_TEMPLATE "DD:CLBDER(CERT%d)"
226 #define PATHTEST_FILE_TEMPLATE "DD:CLBDER(NTEST%d)"
227 #define PADTEST_FILE_TEMPLATE "DD:CLBDER(BADSIG%d)"
228 #define SSHKEY_FILE_TEMPLATE "DD:CLBDER(SSHKEY%d)"
229 #define PGPKEY_FILE_TEMPLATE "DD:CLBDER(PGPKEY%d)"
230 #define PGPASCKEY_FILE_TEMPLATE "DD:CLBDER(PGPKEA%d)"
231 #define NOCHAIN_EE_FILE "DD:CLBDER(NOCHNEE)"
232 #define NOCHAIN_CA_FILE "DD:CLBDER(NOCHNCA)"
233 #define RTCS_OK_FILE "DD:CLBDER(RTCSROK)"
234 #define OCSP_OK_FILE "DD:CLBDER(OCSPROK)"
235 #define OCSP_REV_FILE "DD:CLBDER(OCSPRRE)"
236 #define OCSP_CA_FILE "DD:CLBDER(OCSPCA)"
237 #define CRLCERT_FILE_TEMPLATE "DD:CLBDER(CRLCERT%d)"
238 #define RTCS_FILE_TEMPLATE "DD:CLBDER(RTCSEE%dO)"
239 #define OCSP_CA_FILE_TEMPLATE "DD:CLBDER(OCSPCA%d)"
240 #define OCSP_EEOK_FILE_TEMPLATE "DD:CLBDER(OCSPOK%d)"
241 #define OCSP_EEREV_FILE_TEMPLATE "DD:CLBDER(OCSPRE%d)"
242 #define CMP_CA_FILE_TEMPLATE "DD:CLBDER(CMPCA%d)"
243 #define SCEP_CA_FILE_TEMPLATE "DD:CLBDER(SCEPCA%d)"
245 #define CMS_ENC_FILE_TEMPLATE "DD:CLBP7M(PWENC%d)"
246 #define SMIME_SIG_FILE_TEMPLATE "DD:CLBP7S(SIGNED%d)"
247 #define SMIME_ENV_FILE_TEMPLATE "DD:CLBP7M(ENVEL%d)"
248 #define PGP_ENC_FILE_TEMPLATE "DD:CLBPGP(CONVEN%d)"
249 #define PGP_PKE_FILE_TEMPLATE "DD:CLBPGP(PGPENC%d)"
250 #define OPENPGP_PKE_FILE_TEMPLATE "DD:CLBGPG(GPGENC%d)"
251 #define PGP_SIG_FILE_TEMPLATE "DD:CLBPGP(SIGNED%d)"
252 #define PGP_COPR_FILE_TEMPLATE "DD:CLBPGP(COPR%d)"
254 #define TESTDATA_FILE_TEMPLATE "DD:CLBCMP(TESTD%d)"
255 #define COMPRESS_FILE "DD:CLBCMP(FILENAME)"
263 #elif defined( __VMCMS__ )
265 #define TEST_PRIVKEY_FILE "zkeytest.p15"
266 #define TEST_PRIVKEY_TMP_FILE "zkeytstt.p15"
267 #define TEST_PRIVKEY_ALT_FILE "zkeytest.p12"
268 #define CA_PRIVKEY_FILE "zkeyca.p15"
269 #define ICA_PRIVKEY_FILE "zkeycai.p15"
270 #define SCEPCA_PRIVKEY_FILE "zkeycas.p15"
271 #define USER_PRIVKEY_FILE "zkeyuser.p15"
272 #define DUAL_PRIVKEY_FILE "zkeydual.p15"
273 #define RENEW_PRIVKEY_FILE "zkeyren.p15"
274 #define P15_FILE_TEMPLATE "zkeyp15%d.p15"
275 #define CMP_PRIVKEY_FILE_TEMPLATE "zkeycmp.p15"
276 #define PNP_PRIVKEY_FILE "zkeypnpu.p15"
277 #define PNPCA_PRIVKEY_FILE "zkeypnpc.p15"
278 #define SERVER_PRIVKEY_FILE_TEMPLATE "zkeysrv%d.p15"
279 #define SERVER_ECPRIVKEY_FILE_TEMPLATE "zkeysrp%d.p15"
280 #define SSH_PRIVKEY_FILE_TEMPLATE "zkeyssh%d.p15"
281 #define SSL_CLI_PRIVKEY_FILE "zkeysslc.p15"
282 #define TSA_PRIVKEY_FILE "zkeytsa.p15"
283 #define MISC_PRIVKEY_FILE_TEMPLATE "zkeymis%d.p15"
284 #define PKCS12_FILE_TEMPLATE "zkeyp12%d.p12"
286 #define PGP_PUBKEY_FILE "zpubring.pgp"
287 #define PGP_PRIVKEY_FILE "zsecring.pgp"
288 #define OPENPGP_PUBKEY_HASH_FILE "zpubhash.gpg"
289 #define OPENPGP_PRIVKEY_HASH_FILE "zsechash.gpg"
290 #define OPENPGP_PUBKEY_AES_FILE "zpubaes.pkr"
291 #define OPENPGP_PRIVKEY_AES_FILE "zsecaes.skr"
292 #define OPENPGP_PUBKEY_RSA_FILE "zpubrsa.gpg"
293 #define OPENPGP_PRIVKEY_RSA_FILE "zsecrsa.gpg"
294 #define OPENPGP_PRIVKEY_PART_FILE "zsecpart.gpg"
295 #define NAIPGP_PUBKEY_FILE "zpubnai.pkr"
296 #define NAIPGP_PRIVKEY_FILE "zsecnai.skr"
298 #define CERT_FILE_TEMPLATE "zcert%02d.der"
299 #define BASE64CERT_FILE_TEMPLATE "zcert%d.asc"
300 #define ECC_CERT_FILE_TEMPLATE "zeccert%02d.der"
301 #define BROKEN_CERT_FILE "zcertb.der"
302 #define BROKEN_USER_CERT_FILE "zcertbus.der"
303 #define BROKEN_CA_CERT_FILE "zcertbca.der"
304 #define CERTREQ_FILE_TEMPLATE "zcertreq%d.der"
305 #define CRL_FILE_TEMPLATE "zcrl%d.crl"
306 #define CERTCHAIN_FILE_TEMPLATE "zcertchn%d.der"
307 #define BASE64CERTCHAIN_FILE_TEMPLATE "zcertchn%d.asc"
308 #define PATHTEST_FILE_TEMPLATE "zntest%d.p7s"
309 #define PADTEST_FILE_TEMPLATE "zbadsig%d.der"
310 #define SSHKEY_FILE_TEMPLATE "zsshkey%d.asc"
311 #define PGPKEY_FILE_TEMPLATE "zpgpkey%d.pgp"
312 #define PGPASCKEY_FILE_TEMPLATE "zpgpkey%d.asc"
313 #define NOCHAIN_EE_FILE "znochn_ee.der"
314 #define NOCHAIN_CA_FILE "znochn_ca.der"
315 #define RTCS_OK_FILE "zrtcsrok.der"
316 #define OCSP_OK_FILE "zocsprok.der"
317 #define OCSP_REV_FILE "zocsprre.der"
318 #define OCSP_CA_FILE "zocspca.der"
319 #define CRLCERT_FILE_TEMPLATE "zcrlcrt%d.der"
320 #define RTCS_FILE_TEMPLATE "zrtcsee%do.der"
321 #define OCSP_CA_FILE_TEMPLATE "zocspca%d.der"
322 #define OCSP_EEOK_FILE_TEMPLATE "zocspok%d.der"
323 #define OCSP_EEREV_FILE_TEMPLATE "zocspre%d.der"
324 #define CMP_CA_FILE_TEMPLATE "zcmpca%d.der"
325 #define SCEP_CA_FILE_TEMPLATE "zscepca%d.der"
327 #define CMS_ENC_FILE_TEMPLATE "zpwenc%d.p7m"
328 #define SMIME_SIG_FILE_TEMPLATE "zsigned%d.p7s"
329 #define SMIME_ENV_FILE_TEMPLATE "zenvel%d.p7m"
330 #define PGP_ENC_FILE_TEMPLATE "zconven%d.pgp"
331 #define PGP_PKE_FILE_TEMPLATE "zpgpenc%d.pgp"
332 #define OPENPGP_PKE_FILE_TEMPLATE "zgpgenc%d.gpg"
333 #define PGP_SIG_FILE_TEMPLATE "zsigned%d.pgp"
334 #define PGP_COPR_FILE_TEMPLATE "zcopr%d.pgp"
336 #define TESTDATA_FILE_TEMPLATE "ztestd%d.dat"
337 #define COMPRESS_FILE "filename.h"
345 #elif defined( _WIN32_WCE )
347 #define TEST_PRIVKEY_FILE L"\\Storage Card\\keys\\test.p15"
348 #define TEST_PRIVKEY_TMP_FILE L"\\Storage Card\\keys\\test_tmp.p15"
349 #define TEST_PRIVKEY_ALT_FILE L"\\Storage Card\\keys\\test.p12"
350 #define CA_PRIVKEY_FILE L"\\Storage Card\\keys\\ca.p15"
351 #define ICA_PRIVKEY_FILE L"\\Storage Card\\keys\\ca_int.p15"
352 #define SCEPCA_PRIVKEY_FILE L"\\Storage Card\\keys\\ca_scep.p15"
353 #define USER_PRIVKEY_FILE L"\\Storage Card\\keys\\user.p15"
354 #define DUAL_PRIVKEY_FILE L"\\Storage Card\\keys\\dual.p15"
355 #define RENEW_PRIVKEY_FILE L"\\Storage Card\\keys\\renewed.p15"
356 #define P15_FILE_TEMPLATE L"\\Storage Card\\keys\\pkcs15_%d.p15"
357 #define CMP_PRIVKEY_FILE_TEMPLATE L"\\Storage Card\\keys\\cmp%d.p15"
358 #define PNP_PRIVKEY_FILE L"\\Storage Card\\keys\\pnp_user.p15"
359 #define PNPCA_PRIVKEY_FILE L"\\Storage Card\\keys\\pnp_ca.p15"
360 #define SERVER_PRIVKEY_FILE_TEMPLATE L"\\Storage Card\\keys\\server%d.p15"
361 #define SERVER_ECPRIVKEY_FILE_TEMPLATE L"\\Storage Card\\keys\\serverp%d.p15"
362 #define SSH_PRIVKEY_FILE_TEMPLATE L"\\Storage Card\\keys\\ssh%d.p15"
363 #define SSL_CLI_PRIVKEY_FILE L"\\Storage Card\\keys\\ssl_cli.p15"
364 #define TSA_PRIVKEY_FILE L"\\Storage Card\\keys\\tsa.p15"
365 #define MISC_PRIVKEY_FILE_TEMPLATE L"\\Storage Card\\keys\\misc%d.p15"
366 #define PKCS12_FILE_TEMPLATE L"\\Storage Card\\keys\\pkcs12_%d.p12"
368 #define PGP_PUBKEY_FILE L"\\Storage Card\\pgp\\pubring.pgp"
369 #define PGP_PRIVKEY_FILE L"\\Storage Card\\pgp\\secring.pgp"
370 #define OPENPGP_PUBKEY_HASH_FILE L"\\Storage Card\\pgp\\pub_hash.gpg"
371 #define OPENPGP_PRIVKEY_HASH_FILE L"\\Storage Card\\pgp\\sec_hash.gpg"
372 #define OPENPGP_PUBKEY_AES_FILE L"\\Storage Card\\pgp\\pub_aes.pkr"
373 #define OPENPGP_PRIVKEY_AES_FILE L"\\Storage Card\\pgp\\sec_aes.skr"
374 #define OPENPGP_PUBKEY_RSA_FILE L"\\Storage Card\\pgp\\pub_rsa.gpg"
375 #define OPENPGP_PRIVKEY_RSA_FILE L"\\Storage Card\\pgp\\sec_rsa.gpg"
376 #define OPENPGP_PRIVKEY_PART_FILE L"\\Storage Card\\pgp\\sec_part.gpg"
377 #define NAIPGP_PUBKEY_FILE L"\\Storage Card\\pgp\\pub_nai.pkr"
378 #define NAIPGP_PRIVKEY_FILE L"\\Storage Card\\pgp\\sec_nai.skr"
380 #define CERT_FILE_TEMPLATE L"\\Storage Card\\certs\\cert%02d.der"
381 #define BASE64CERT_FILE_TEMPLATE L"\\Storage Card\\certs\\cert%d.asc"
382 #define ECC_CERT_FILE_TEMPLATE L"\\Storage Card\\certs\\eccert%02d.der"
383 #define BROKEN_CERT_FILE L"\\Storage Card\\certs\\broken.der"
384 #define BROKEN_USER_CERT_FILE L"\\Storage Card\\certs\\broken_ee.der"
385 #define BROKEN_CA_CERT_FILE L"\\Storage Card\\certs\\broken_ca.der"
386 #define CERTREQ_FILE_TEMPLATE L"\\Storage Card\\certs\\certreq%d.der"
387 #define CRL_FILE_TEMPLATE L"\\Storage Card\\certs\\crl%d.crl"
388 #define CERTCHAIN_FILE_TEMPLATE L"\\Storage Card\\certs\\certchn%d.der"
389 #define BASE64CERTCHAIN_FILE_TEMPLATE L"\\Storage Card\\certs\\certchn%d.asc"
390 #define PATHTEST_FILE_TEMPLATE L"\\Storage Card\\nist\\test%d.p7s"
391 #define PADTEST_FILE_TEMPLATE L"\\Storage Card\\certs\\badsig%d.der"
392 #define SSHKEY_FILE_TEMPLATE L"\\Storage Card\\misc\\sshkey%d.asc"
393 #define PGPKEY_FILE_TEMPLATE L"\\Storage Card\\pgp\\pubkey%d.pgp"
394 #define PGPASCKEY_FILE_TEMPLATE L"\\Storage Card\\pgp\\pubkey%d.asc"
395 #define NOCHAIN_EE_FILE L"\\Storage Card\\misc\\nochn_ee.der"
396 #define NOCHAIN_CA_FILE L"\\Storage Card\\misc\\nochn_ca.der"
397 #define RTCS_OK_FILE L"\\Storage Card\\misc\\rtcsrok.der"
398 #define OCSP_OK_FILE L"\\Storage Card\\session\\ocspr_ok.der"
399 #define OCSP_REV_FILE L"\\Storage Card\\session\\ocspr_re.der"
400 #define OCSP_CA_FILE L"\\Storage Card\\session\\ocspca.der"
401 #define CRLCERT_FILE_TEMPLATE L"\\Storage Card\\misc\\crl_cert%d.der"
402 #define RTCS_FILE_TEMPLATE L"\\Storage Card\\misc\\rtcs_ee%do.der"
403 #define OCSP_CA_FILE_TEMPLATE L"\\Storage Card\\session\\ocsp_ca%d.der"
404 #define OCSP_EEOK_FILE_TEMPLATE L"\\Storage Card\\session\\ocsp_ok%d.der"
405 #define OCSP_EEREV_FILE_TEMPLATE L"\\Storage Card\\session\\ocsp_re%d.der"
406 #define CMP_CA_FILE_TEMPLATE L"\\Storage Card\\session\\cmp_ca%d.der"
407 #define SCEP_CA_FILE_TEMPLATE L"\\Storage Card\\session\\scep_ca%d.der"
409 #define CMS_ENC_FILE_TEMPLATE L"\\Storage Card\\smime\\pw_enc%d.p7m"
410 #define SMIME_SIG_FILE_TEMPLATE L"\\Storage Card\\smime\\signed%d.p7s"
411 #define SMIME_ENV_FILE_TEMPLATE L"\\Storage Card\\smime\\envel%d.p7m"
412 #define PGP_ENC_FILE_TEMPLATE L"\\Storage Card\\pgp\\conv_enc%d.pgp"
413 #define PGP_PKE_FILE_TEMPLATE L"\\Storage Card\\pgp\\pgp_enc%d.pgp"
414 #define OPENPGP_PKE_FILE_TEMPLATE L"\\Storage Card\\pgp\\gpg_enc%d.gpg"
415 #define PGP_SIG_FILE_TEMPLATE L"\\Storage Card\\pgp\\signed%d.pgp"
416 #define PGP_COPR_FILE_TEMPLATE L"\\Storage Card\\pgp\\copr%d.pgp"
418 #define TESTDATA_FILE_TEMPLATE L"\\Storage Card\\misc\\testdata%d.dat"
419 #define COMPRESS_FILE L"\\Storage Card\\filename.h"
429 #define TEST_PRIVKEY_FILE TEXT( "test/keys/test.p15" )
430 #define TEST_PRIVKEY_TMP_FILE TEXT( "test/keys/test_tmp.p15" )
431 #define TEST_PRIVKEY_ALT_FILE TEXT( "test/keys/test.p12" )
432 #define CA_PRIVKEY_FILE TEXT( "test/keys/ca.p15" )
433 #define ICA_PRIVKEY_FILE TEXT( "test/keys/ca_int.p15" )
434 #define SCEPCA_PRIVKEY_FILE TEXT( "test/keys/ca_scep.p15" )
435 #define USER_PRIVKEY_FILE TEXT( "test/keys/user.p15" )
436 #define DUAL_PRIVKEY_FILE TEXT( "test/keys/dual.p15" )
437 #define RENEW_PRIVKEY_FILE TEXT( "test/keys/renewed.p15" )
438 #define P15_FILE_TEMPLATE TEXT( "test/keys/pkcs15_%d.p15" )
439 #define CMP_PRIVKEY_FILE_TEMPLATE TEXT( "test/keys/cmp%d.p15" )
440 #define PNP_PRIVKEY_FILE TEXT( "test/keys/pnp_user.p15" )
441 #define PNPCA_PRIVKEY_FILE TEXT( "test/keys/pnp_ca.p15" )
442 #define SERVER_PRIVKEY_FILE_TEMPLATE TEXT( "test/keys/server%d.p15" )
443 #define SERVER_ECPRIVKEY_FILE_TEMPLATE TEXT( "test/keys/serverp%d.p15" )
444 #define SSH_PRIVKEY_FILE_TEMPLATE TEXT( "test/keys/ssh%d.p15" )
445 #define SSL_CLI_PRIVKEY_FILE TEXT( "test/keys/ssl_cli.p15" )
446 #define TSA_PRIVKEY_FILE TEXT( "test/keys/tsa.p15" )
447 #define MISC_PRIVKEY_FILE_TEMPLATE TEXT( "test/keys/misc%d.p15" )
448 #define PKCS12_FILE_TEMPLATE TEXT( "test/keys/pkcs12_%d.p12" )
450 #define PGP_PUBKEY_FILE TEXT( "test/pgp/pubring.pgp" )
451 #define PGP_PRIVKEY_FILE TEXT( "test/pgp/secring.pgp" )
452 #define OPENPGP_PUBKEY_HASH_FILE TEXT( "test/pgp/pub_hash.gpg" )
453 #define OPENPGP_PRIVKEY_HASH_FILE TEXT( "test/pgp/sec_hash.gpg" )
454 #define OPENPGP_PUBKEY_AES_FILE TEXT( "test/pgp/pub_aes.pkr" )
455 #define OPENPGP_PRIVKEY_AES_FILE TEXT( "test/pgp/sec_aes.skr" )
456 #define OPENPGP_PUBKEY_RSA_FILE TEXT( "test/pgp/pub_rsa.gpg" )
457 #define OPENPGP_PRIVKEY_RSA_FILE TEXT( "test/pgp/sec_rsa.gpg" )
458 #define OPENPGP_PRIVKEY_PART_FILE TEXT( "test/pgp/sec_part.gpg" )
459 #define NAIPGP_PUBKEY_FILE TEXT( "test/pgp/pub_nai.pkr" )
460 #define NAIPGP_PRIVKEY_FILE TEXT( "test/pgp/sec_nai.skr" )
462 #define CERT_FILE_TEMPLATE TEXT( "test/certs/cert%02d.der" )
463 #define BASE64CERT_FILE_TEMPLATE TEXT( "test/certs/cert%d.asc" )
464 #define ECC_CERT_FILE_TEMPLATE TEXT( "test/certs/eccert%02d.der" )
465 #define BROKEN_CERT_FILE TEXT( "test/certs/broken.der" )
466 #define BROKEN_USER_CERT_FILE TEXT( "test/certs/broken_ee.der" )
467 #define BROKEN_CA_CERT_FILE TEXT( "test/certs/broken_ca.der" )
468 #define CERTREQ_FILE_TEMPLATE TEXT( "test/certs/certreq%d.der" )
469 #define CRL_FILE_TEMPLATE TEXT( "test/certs/crl%d.crl" )
470 #define CERTCHAIN_FILE_TEMPLATE TEXT( "test/certs/certchn%d.der" )
471 #define BASE64CERTCHAIN_FILE_TEMPLATE TEXT( "test/certs/certchn%d.asc" )
472 #define PATHTEST_FILE_TEMPLATE TEXT( "test/nist/test%d.p7s" )
473 #define PADTEST_FILE_TEMPLATE TEXT( "test/certs/bad_sig%d.der" )
474 #define SSHKEY_FILE_TEMPLATE TEXT( "test/misc/sshkey%d.asc" )
475 #define PGPKEY_FILE_TEMPLATE TEXT( "test/pgp/pubkey%d.pgp" )
476 #define PGPASCKEY_FILE_TEMPLATE TEXT( "test/pgp/pubkey%d.asc" )
477 #define NOCHAIN_EE_FILE TEXT( "test/misc/nochn_ee.der" )
478 #define NOCHAIN_CA_FILE TEXT( "test/misc/nochn_ca.der" )
479 #define RTCS_OK_FILE TEXT( "test/misc/rtcsrok.der" )
480 #define OCSP_OK_FILE TEXT( "test/session/ocspr_ok.der" )
481 #define OCSP_REV_FILE TEXT( "test/session/ocspr_re.der" )
482 #define OCSP_CA_FILE TEXT( "test/session/ocspca.der" )
483 #define CRLCERT_FILE_TEMPLATE TEXT( "test/misc/crl_cert%d.der" )
484 #define RTCS_FILE_TEMPLATE TEXT( "test/misc/rtcs_ee%do.der" )
485 #define OCSP_CA_FILE_TEMPLATE TEXT( "test/session/ocsp_ca%d.der" )
486 #define OCSP_EEOK_FILE_TEMPLATE TEXT( "test/session/ocsp_ok%d.der" )
487 #define OCSP_EEREV_FILE_TEMPLATE TEXT( "test/session/ocsp_re%d.der" )
488 #define CMP_CA_FILE_TEMPLATE TEXT( "test/session/cmp_ca%d.der" )
489 #define SCEP_CA_FILE_TEMPLATE TEXT( "test/session/scep_ca%d.der" )
491 #define CMS_ENC_FILE_TEMPLATE TEXT( "test/smime/pw_enc%d.p7m" )
492 #define SMIME_SIG_FILE_TEMPLATE TEXT( "test/smime/signed%d.p7s" )
493 #define SMIME_ENV_FILE_TEMPLATE TEXT( "test/smime/envel%d.p7m" )
494 #define PGP_ENC_FILE_TEMPLATE TEXT( "test/pgp/conv_enc%d.pgp" )
495 #define PGP_PKE_FILE_TEMPLATE TEXT( "test/pgp/pgp_enc%d.pgp" )
496 #define OPENPGP_PKE_FILE_TEMPLATE TEXT( "test/pgp/gpg_enc%d.gpg" )
497 #define PGP_SIG_FILE_TEMPLATE TEXT( "test/pgp/signed%d.pgp" )
498 #define PGP_COPR_FILE_TEMPLATE TEXT( "test/pgp/copr%d.pgp" )
500 #define TESTDATA_FILE_TEMPLATE TEXT( "test/misc/testdata%d.dat" )
501 #define COMPRESS_FILE TEXT( "test/filename.h" )