Searched refs:keyform (Results 1 - 6 of 6) sorted by relevance

/freebsd-current/crypto/openssl/apps/
H A Dpkeyutl.c24 const char *keyfile, int keyform, int key_type,
80 {"keyform", OPT_KEYFORM, 'E', "Private key format (ENGINE, other values ignored)"},
115 int keyform = FORMAT_UNDEF, peerform = FORMAT_UNDEF; local
170 if (!opt_format(opt_arg(), OPT_FMT_ANY, &keyform))
305 ctx = init_ctx(kdfalg, &keysize, inkey, keyform, key_type,
524 const char *keyfile, int keyform, int key_type,
549 pkey = load_key(keyfile, keyform, 0, passin, e, "private key");
553 pkey = load_pubkey(keyfile, keyform, 0, NULL, e, "public key");
557 x = load_cert(keyfile, keyform, "Certificate");
523 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, int rawin, EVP_PKEY **ppkey, EVP_MD_CTX *mctx, const char *digestname, OSSL_LIB_CTX *libctx, const char *propq) argument
H A Ddgst.c66 {"keyform", OPT_KEYFORM, 'f', "Key file format (ENGINE, other values ignored)"},
108 int separator = 0, debug = 0, keyform = FORMAT_UNDEF, siglen = 0; local
172 if (!opt_format(opt_arg(), OPT_FMT_ANY, &keyform))
283 sigkey = load_pubkey(keyfile, keyform, 0, NULL, e, "public key");
285 sigkey = load_key(keyfile, keyform, 0, passin, e, "private key");
H A Dsmime.c63 {"keyform", OPT_KEYFORM, 'f', "Input private key format (ENGINE, other values ignored)"},
153 int informat = FORMAT_SMIME, outformat = FORMAT_SMIME, keyform = local
323 if (!opt_format(opt_arg(), OPT_FMT_ANY, &keyform))
489 key = load_key(keyfile, keyform, 0, passin, e, "signing key");
581 key = load_key(keyfile, keyform, 0, passin, e, "signing key");
H A Dcms.c150 {"keyform", OPT_KEYFORM, 'f',
305 int verify_retcode = 0, rctformat = FORMAT_SMIME, keyform = FORMAT_UNDEF; local
614 if (!opt_format(opt_arg(), OPT_FMT_ANY, &keyform))
883 key = load_key(keyfile, keyform, 0, passin, e, "signing key");
1077 key = load_key(keyfile, keyform, 0, passin, e, "signing key");
H A Dreq.c144 {"keyform", OPT_KEYFORM, 'f', "Key file format (ENGINE, other values ignored)"},
262 int informat = FORMAT_UNDEF, outformat = FORMAT_PEM, keyform = FORMAT_UNDEF; local
320 if (!opt_format(opt_arg(), OPT_FMT_ANY, &keyform))
630 pkey = load_key(keyfile, keyform, 0, passin, e, "private key");
/freebsd-current/crypto/openssl/apps/lib/
H A Ds_cb.c861 int keyform; member in struct:ssl_excert_st
979 exc->keyform = exc->next->keyform;
983 exc->keyform = FORMAT_PEM;
1027 exc->key = load_key(exc->keyfile, exc->keyform,
1096 if (!opt_format(opt_arg(), OPT_FMT_ANY, &exc->keyform))

Completed in 138 milliseconds