• Home
  • Raw
  • Download

Lines Matching refs:args

107 	char **args;  in MAIN()  local
146 args = argv + 1; in MAIN()
160 while (!badarg && *args && *args[0] == '-') in MAIN()
162 if (!strcmp (*args, "-encrypt")) in MAIN()
164 else if (!strcmp (*args, "-decrypt")) in MAIN()
166 else if (!strcmp (*args, "-sign")) in MAIN()
168 else if (!strcmp (*args, "-sign_receipt")) in MAIN()
170 else if (!strcmp (*args, "-resign")) in MAIN()
172 else if (!strcmp (*args, "-verify")) in MAIN()
174 else if (!strcmp (*args, "-verify_retcode")) in MAIN()
176 else if (!strcmp(*args,"-verify_receipt")) in MAIN()
179 if (!args[1]) in MAIN()
181 args++; in MAIN()
182 rctfile = *args; in MAIN()
184 else if (!strcmp (*args, "-cmsout")) in MAIN()
186 else if (!strcmp (*args, "-data_out")) in MAIN()
188 else if (!strcmp (*args, "-data_create")) in MAIN()
190 else if (!strcmp (*args, "-digest_verify")) in MAIN()
192 else if (!strcmp (*args, "-digest_create")) in MAIN()
194 else if (!strcmp (*args, "-compress")) in MAIN()
196 else if (!strcmp (*args, "-uncompress")) in MAIN()
198 else if (!strcmp (*args, "-EncryptedData_decrypt")) in MAIN()
200 else if (!strcmp (*args, "-EncryptedData_encrypt")) in MAIN()
203 else if (!strcmp (*args, "-des3")) in MAIN()
205 else if (!strcmp (*args, "-des")) in MAIN()
209 else if (!strcmp (*args, "-seed")) in MAIN()
213 else if (!strcmp (*args, "-rc2-40")) in MAIN()
215 else if (!strcmp (*args, "-rc2-128")) in MAIN()
217 else if (!strcmp (*args, "-rc2-64")) in MAIN()
221 else if (!strcmp(*args,"-aes128")) in MAIN()
223 else if (!strcmp(*args,"-aes192")) in MAIN()
225 else if (!strcmp(*args,"-aes256")) in MAIN()
229 else if (!strcmp(*args,"-camellia128")) in MAIN()
231 else if (!strcmp(*args,"-camellia192")) in MAIN()
233 else if (!strcmp(*args,"-camellia256")) in MAIN()
236 else if (!strcmp (*args, "-debug_decrypt")) in MAIN()
238 else if (!strcmp (*args, "-text")) in MAIN()
240 else if (!strcmp (*args, "-nointern")) in MAIN()
242 else if (!strcmp (*args, "-noverify") in MAIN()
243 || !strcmp (*args, "-no_signer_cert_verify")) in MAIN()
245 else if (!strcmp (*args, "-nocerts")) in MAIN()
247 else if (!strcmp (*args, "-noattr")) in MAIN()
249 else if (!strcmp (*args, "-nodetach")) in MAIN()
251 else if (!strcmp (*args, "-nosmimecap")) in MAIN()
253 else if (!strcmp (*args, "-binary")) in MAIN()
255 else if (!strcmp (*args, "-keyid")) in MAIN()
257 else if (!strcmp (*args, "-nosigs")) in MAIN()
259 else if (!strcmp (*args, "-no_content_verify")) in MAIN()
261 else if (!strcmp (*args, "-no_attr_verify")) in MAIN()
263 else if (!strcmp (*args, "-stream")) in MAIN()
265 else if (!strcmp (*args, "-indef")) in MAIN()
267 else if (!strcmp (*args, "-noindef")) in MAIN()
269 else if (!strcmp (*args, "-nooldmime")) in MAIN()
271 else if (!strcmp (*args, "-crlfeol")) in MAIN()
273 else if (!strcmp (*args, "-noout")) in MAIN()
275 else if (!strcmp (*args, "-receipt_request_print")) in MAIN()
277 else if (!strcmp (*args, "-receipt_request_all")) in MAIN()
279 else if (!strcmp (*args, "-receipt_request_first")) in MAIN()
281 else if (!strcmp(*args,"-receipt_request_from")) in MAIN()
283 if (!args[1]) in MAIN()
285 args++; in MAIN()
288 sk_OPENSSL_STRING_push(rr_from, *args); in MAIN()
290 else if (!strcmp(*args,"-receipt_request_to")) in MAIN()
292 if (!args[1]) in MAIN()
294 args++; in MAIN()
297 sk_OPENSSL_STRING_push(rr_to, *args); in MAIN()
299 else if (!strcmp (*args, "-print")) in MAIN()
304 else if (!strcmp(*args,"-secretkey")) in MAIN()
307 if (!args[1]) in MAIN()
309 args++; in MAIN()
310 secret_key = string_to_hex(*args, &ltmp); in MAIN()
313 BIO_printf(bio_err, "Invalid key %s\n", *args); in MAIN()
318 else if (!strcmp(*args,"-secretkeyid")) in MAIN()
321 if (!args[1]) in MAIN()
323 args++; in MAIN()
324 secret_keyid = string_to_hex(*args, &ltmp); in MAIN()
327 BIO_printf(bio_err, "Invalid id %s\n", *args); in MAIN()
332 else if (!strcmp(*args,"-pwri_password")) in MAIN()
334 if (!args[1]) in MAIN()
336 args++; in MAIN()
337 pwri_pass = (unsigned char *)*args; in MAIN()
339 else if (!strcmp(*args,"-econtent_type")) in MAIN()
341 if (!args[1]) in MAIN()
343 args++; in MAIN()
344 econtent_type = OBJ_txt2obj(*args, 0); in MAIN()
347 BIO_printf(bio_err, "Invalid OID %s\n", *args); in MAIN()
351 else if (!strcmp(*args,"-rand")) in MAIN()
353 if (!args[1]) in MAIN()
355 args++; in MAIN()
356 inrand = *args; in MAIN()
360 else if (!strcmp(*args,"-engine")) in MAIN()
362 if (!args[1]) in MAIN()
364 engine = *++args; in MAIN()
367 else if (!strcmp(*args,"-passin")) in MAIN()
369 if (!args[1]) in MAIN()
371 passargin = *++args; in MAIN()
373 else if (!strcmp (*args, "-to")) in MAIN()
375 if (!args[1]) in MAIN()
377 to = *++args; in MAIN()
379 else if (!strcmp (*args, "-from")) in MAIN()
381 if (!args[1]) in MAIN()
383 from = *++args; in MAIN()
385 else if (!strcmp (*args, "-subject")) in MAIN()
387 if (!args[1]) in MAIN()
389 subject = *++args; in MAIN()
391 else if (!strcmp (*args, "-signer")) in MAIN()
393 if (!args[1]) in MAIN()
409 signerfile = *++args; in MAIN()
411 else if (!strcmp (*args, "-recip")) in MAIN()
413 if (!args[1]) in MAIN()
415 recipfile = *++args; in MAIN()
417 else if (!strcmp (*args, "-certsout")) in MAIN()
419 if (!args[1]) in MAIN()
421 certsoutfile = *++args; in MAIN()
423 else if (!strcmp (*args, "-md")) in MAIN()
425 if (!args[1]) in MAIN()
427 sign_md = EVP_get_digestbyname(*++args); in MAIN()
431 *args); in MAIN()
435 else if (!strcmp (*args, "-inkey")) in MAIN()
437 if (!args[1]) in MAIN()
455 keyfile = *++args; in MAIN()
457 else if (!strcmp (*args, "-keyform")) in MAIN()
459 if (!args[1]) in MAIN()
461 keyform = str2fmt(*++args); in MAIN()
463 else if (!strcmp (*args, "-rctform")) in MAIN()
465 if (!args[1]) in MAIN()
467 rctformat = str2fmt(*++args); in MAIN()
469 else if (!strcmp (*args, "-certfile")) in MAIN()
471 if (!args[1]) in MAIN()
473 certfile = *++args; in MAIN()
475 else if (!strcmp (*args, "-CAfile")) in MAIN()
477 if (!args[1]) in MAIN()
479 CAfile = *++args; in MAIN()
481 else if (!strcmp (*args, "-CApath")) in MAIN()
483 if (!args[1]) in MAIN()
485 CApath = *++args; in MAIN()
487 else if (!strcmp (*args, "-in")) in MAIN()
489 if (!args[1]) in MAIN()
491 infile = *++args; in MAIN()
493 else if (!strcmp (*args, "-inform")) in MAIN()
495 if (!args[1]) in MAIN()
497 informat = str2fmt(*++args); in MAIN()
499 else if (!strcmp (*args, "-outform")) in MAIN()
501 if (!args[1]) in MAIN()
503 outformat = str2fmt(*++args); in MAIN()
505 else if (!strcmp (*args, "-out")) in MAIN()
507 if (!args[1]) in MAIN()
509 outfile = *++args; in MAIN()
511 else if (!strcmp (*args, "-content")) in MAIN()
513 if (!args[1]) in MAIN()
515 contfile = *++args; in MAIN()
517 else if (args_verify(&args, NULL, &badarg, bio_err, &vpm)) in MAIN()
519 else if ((cipher = EVP_get_cipherbyname(*args + 1)) == NULL) in MAIN()
521 args++; in MAIN()
580 if (!*args && !secret_key && !pwri_pass) in MAIN()
721 if (*args) in MAIN()
723 while (*args) in MAIN()
725 if (!(cert = load_cert(bio_err,*args,FORMAT_PEM, in MAIN()
730 args++; in MAIN()