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

/freebsd-11-stable/crypto/openssl/apps/
H A Drsautl.c94 int keyform = FORMAT_PEM; local
140 } else if (strcmp(*argv, "-keyform") == 0) {
144 keyform = str2fmt(*(++argv));
207 pkey = load_key(bio_err, keyfile, keyform, 0,
212 pkey = load_pubkey(bio_err, keyfile, keyform, 0,
217 x = load_cert(bio_err, keyfile, keyform, NULL, e, "Certificate");
344 BIO_printf(bio_err, "-keyform arg private key format - default PEM\n");
H A Dpkeyutl.c76 const char *keyfile, int keyform, int key_type,
95 int keyform = FORMAT_PEM, peerform = FORMAT_PEM; local
158 } else if (strcmp(*argv, "-keyform") == 0) {
162 keyform = str2fmt(*(++argv));
220 ctx = init_ctx(&keysize, inkey, keyform, key_type,
384 BIO_printf(bio_err, "-keyform arg private key format - default PEM\n");
407 const char *keyfile, int keyform, int key_type,
429 pkey = load_key(bio_err, keyfile, keyform, 0,
434 pkey = load_pubkey(bio_err, keyfile, keyform, 0,
439 x = load_cert(bio_err, keyfile, keyform, NUL
406 init_ctx(int *pkeysize, const char *keyfile, int keyform, int key_type, char *passargin, int pkey_op, ENGINE *e, int engine_impl) argument
[all...]
H A Ddgst.c117 int keyform = FORMAT_PEM; local
192 } else if (strcmp(*argv, "-keyform") == 0) {
195 keyform = str2fmt(*(++argv));
276 "-keyform arg key file format (PEM or ENGINE)\n");
355 sigkey = load_pubkey(bio_err, keyfile, keyform, 0, NULL,
358 sigkey = load_key(bio_err, keyfile, keyform, 0, passin,
H A Dsmime.c116 int keyform = FORMAT_PEM; local
288 } else if (!strcmp(*args, "-keyform")) {
291 keyform = str2fmt(*++args);
428 "-keyform arg input private key format (PEM or ENGINE)\n");
549 key = load_key(bio_err, keyfile, keyform, 0, passin, e,
648 key = load_key(bio_err, keyfile, keyform, 0, passin, e,
H A Ds_cb.c1169 int keyform; member in struct:ssl_excert_st
1296 exc->keyform = exc->next->keyform;
1300 exc->keyform = FORMAT_PEM;
1343 exc->key = load_key(err, exc->keyfile, exc->keyform,
1424 exc->keyform = str2fmt(argn);
H A Dcms.c145 int rctformat = FORMAT_SMIME, keyform = FORMAT_PEM; local
440 } else if (!strcmp(*args, "-keyform")) {
443 keyform = str2fmt(*++args);
631 "-keyform arg input private key format (PEM or ENGINE)\n");
762 key = load_key(bio_err, keyfile, keyform, 0, passin, e,
984 key = load_key(bio_err, keyfile, keyform, 0, passin, e,
H A Dreq.c121 * -keyform arg - key file format.
177 int informat, outformat, verify = 0, noout = 0, text = 0, keyform = local
256 } else if (strcmp(*argv, "-keyform") == 0) {
259 keyform = str2fmt(*(++argv));
399 BIO_printf(bio_err, " -keyform arg key file format\n");
601 pkey = load_key(bio_err, keyfile, keyform, 0, passin, e,
H A Dca.c157 " -keyform arg - private key file format (PEM or ENGINE)\n",
270 int keyform = FORMAT_PEM; local
392 } else if (strcmp(*argv, "-keyform") == 0) {
395 keyform = str2fmt(*(++argv));
717 pkey = load_key(bio_err, keyfile, keyform, 0, key, e, "CA private key");

Completed in 80 milliseconds