Home
last modified time | relevance | path

Searched refs:keyform (Results 1 – 16 of 16) sorted by relevance

/freebsd-12.1/crypto/openssl/apps/
H A Dpkeyutl.c23 const char *keyfile, int keyform, int key_type,
87 int buf_inlen = 0, siglen = -1, keyform = FORMAT_PEM, peerform = FORMAT_PEM; in pkeyutl_main() local
136 if (!opt_format(opt_arg(), OPT_FMT_PDE, &keyform)) in pkeyutl_main()
216 ctx = init_ctx(kdfalg, &keysize, inkey, keyform, key_type, in pkeyutl_main()
366 const char *keyfile, int keyform, int key_type, in init_ctx() argument
388 pkey = load_key(keyfile, keyform, 0, passin, e, "Private Key"); in init_ctx()
392 pkey = load_pubkey(keyfile, keyform, 0, NULL, e, "Public Key"); in init_ctx()
396 x = load_cert(keyfile, keyform, "Certificate"); in init_ctx()
H A Ddgst.c90 int separator = 0, debug = 0, keyform = FORMAT_PEM, siglen = 0; in dgst_main() local
142 if (!opt_format(opt_arg(), OPT_FMT_ANY, &keyform)) in dgst_main()
241 sigkey = load_pubkey(keyfile, keyform, 0, NULL, e, "key file"); in dgst_main()
243 sigkey = load_key(keyfile, keyform, 0, passin, e, "key file"); in dgst_main()
H A Dsmime.c131 int informat = FORMAT_SMIME, outformat = FORMAT_SMIME, keyform = in smime_main() local
293 if (!opt_format(opt_arg(), OPT_FMT_ANY, &keyform)) in smime_main()
437 key = load_key(keyfile, keyform, 0, passin, e, "signing key file"); in smime_main()
522 key = load_key(keyfile, keyform, 0, passin, e, "signing key file"); in smime_main()
H A Ds_cb.c844 int keyform; member
960 exc->keyform = exc->next->keyform; in ssl_excert_prepend()
964 exc->keyform = FORMAT_PEM; in ssl_excert_prepend()
1007 exc->key = load_key(exc->keyfile, exc->keyform, in load_excert()
1077 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &exc->keyform)) in args_excert()
H A Dcms.c213 int verify_retcode = 0, rctformat = FORMAT_SMIME, keyform = FORMAT_PEM; in cms_main() local
509 if (!opt_format(opt_arg(), OPT_FMT_ANY, &keyform)) in cms_main()
724 key = load_key(keyfile, keyform, 0, passin, e, "signing key file"); in cms_main()
930 key = load_key(keyfile, keyform, 0, passin, e, "signing key file"); in cms_main()
H A Dreq.c237 int informat = FORMAT_PEM, outformat = FORMAT_PEM, keyform = FORMAT_PEM; in req_main() local
292 if (!opt_format(opt_arg(), OPT_FMT_ANY, &keyform)) in req_main()
558 pkey = load_key(keyfile, keyform, 0, passin, e, "Private Key"); in req_main()
/freebsd-12.1/crypto/openssl/doc/man1/
H A Dspkac.pod15 [B<-keyform PEM|DER|ENGINE>]
55 =item B<-keyform PEM|DER|ENGINE>
H A Drsautl.pod15 [B<-keyform PEM|DER|ENGINE>]
57 =item B<-keyform PEM|DER|ENGINE>
H A Ddgst.pod20 [B<-keyform arg>]
93 =item B<-keyform arg>
H A Dpkeyutl.pod16 [B<-keyform PEM|DER|ENGINE>]
70 =item B<-keyform PEM|DER|ENGINE>
H A Dx509.pod14 [B<-keyform DER|PEM>]
381 =item B<-keyform PEM|DER>
468 The format or B<key> can be specified using the B<-keyform> option.
H A Dreq.pod30 [B<-keyform PEM|DER>]
187 =item B<-keyform PEM|DER>
H A Ds_server.pod27 [B<-keyform format>]
293 =item B<-keyform format>
H A Dca.pod33 [B<-keyform PEM|DER>]
132 =item B<-keyform PEM|DER>
H A Ds_client.pod25 [B<-keyform DER|PEM>]
226 =item B<-keyform format>
/freebsd-12.1/crypto/openssl/
H A DCHANGES5809 *) New arguments -certform, -keyform and -pass for s_client and s_server
7348 *) Add -keyform to rsautl, and document -engine.