/freebsd-13-stable/crypto/openssl/apps/ |
H A D | pkeyutl.c | 23 const char *keyfile, int keyform, int key_type, 67 {"keyform", OPT_KEYFORM, 'E', "Private key format - default PEM"}, 87 int buf_inlen = 0, siglen = -1, keyform = FORMAT_PEM, peerform = FORMAT_PEM; local 136 if (!opt_format(opt_arg(), OPT_FMT_PDE, &keyform)) 216 ctx = init_ctx(kdfalg, &keysize, inkey, keyform, key_type, 365 const char *keyfile, int keyform, int key_type, 387 pkey = load_key(keyfile, keyform, 0, passin, e, "Private Key"); 391 pkey = load_pubkey(keyfile, keyform, 0, NULL, e, "Public Key"); 395 x = load_cert(keyfile, keyform, "Certificate"); 364 init_ctx(const char *kdfalg, int *pkeysize, const char *keyfile, int keyform, int key_type, char *passinarg, int pkey_op, ENGINE *e, const int engine_impl) argument
|
H A D | dgst.c | 64 {"keyform", OPT_KEYFORM, 'f', "Key file format (PEM or ENGINE)"}, 98 int separator = 0, debug = 0, keyform = FORMAT_PEM, siglen = 0; local 160 if (!opt_format(opt_arg(), OPT_FMT_ANY, &keyform)) 259 sigkey = load_pubkey(keyfile, keyform, 0, NULL, e, "key file"); 261 sigkey = load_key(keyfile, keyform, 0, passin, e, "key file");
|
H A D | smime.c | 77 {"keyform", OPT_KEYFORM, 'f', "Input private key format (PEM or ENGINE)"}, 131 int informat = FORMAT_SMIME, outformat = FORMAT_SMIME, keyform = local 293 if (!opt_format(opt_arg(), OPT_FMT_ANY, &keyform)) 437 key = load_key(keyfile, keyform, 0, passin, e, "signing key file"); 522 key = load_key(keyfile, keyform, 0, passin, e, "signing key file");
|
H A D | s_cb.c | 845 int keyform; member in struct:ssl_excert_st 962 exc->keyform = exc->next->keyform; 966 exc->keyform = FORMAT_PEM; 1009 exc->key = load_key(exc->keyfile, exc->keyform, 1079 if (!opt_format(opt_arg(), OPT_FMT_PEMDER, &exc->keyform))
|
H A D | cms.c | 167 {"keyform", OPT_KEYFORM, 'f', "Input private key format (PEM or ENGINE)"}, 213 int verify_retcode = 0, rctformat = FORMAT_SMIME, keyform = FORMAT_PEM; local 509 if (!opt_format(opt_arg(), OPT_FMT_ANY, &keyform)) 726 key = load_key(keyfile, keyform, 0, passin, e, "signing key file"); 932 key = load_key(keyfile, keyform, 0, passin, e, "signing key file");
|
H A D | req.c | 104 {"keyform", OPT_KEYFORM, 'f', "Key file format"}, 240 int informat = FORMAT_PEM, outformat = FORMAT_PEM, keyform = FORMAT_PEM; local 295 if (!opt_format(opt_arg(), OPT_FMT_ANY, &keyform)) 563 pkey = load_key(keyfile, keyform, 0, passin, e, "Private Key");
|