Home
last modified time | relevance | path

Searched refs:keyfile (Results 1 – 25 of 25) sorted by relevance

/openssl/apps/
H A Dsmime.c325 keyfile = NULL; in smime_main()
340 if (keyfile != NULL) { in smime_main()
356 keyfile = opt_arg(); in smime_main()
430 if (!keyfile) in smime_main()
439 keyfile = NULL; in smime_main()
507 if (keyfile == NULL) in smime_main()
508 keyfile = recipfile; in smime_main()
510 if (keyfile == NULL) in smime_main()
511 keyfile = signerfile; in smime_main()
513 keyfile = NULL; in smime_main()
[all …]
H A Dspkac.c66 char *challenge = NULL, *keyfile = NULL; in spkac_main() local
107 keyfile = opt_arg(); in spkac_main()
144 if (keyfile != NULL) { in spkac_main()
148 pkey = load_key(strcmp(keyfile, "-") ? keyfile : NULL, in spkac_main()
H A Dcms.c598 keyfile = NULL; in cms_main()
607 if (keyfile != NULL) { in cms_main()
622 keyfile = opt_arg(); in cms_main()
764 if (keyfile == NULL) in cms_main()
773 keyfile = NULL; in cms_main()
875 if (keyfile == NULL) in cms_main()
876 keyfile = recipfile; in cms_main()
878 if (keyfile == NULL) in cms_main()
879 keyfile = signerfile; in cms_main()
881 keyfile = NULL; in cms_main()
[all …]
H A Drsautl.c79 char *infile = NULL, *outfile = NULL, *keyfile = NULL; in rsautl_main() local
155 keyfile = opt_arg(); in rsautl_main()
190 pkey = load_key(keyfile, keyformat, 0, passin, e, "private key"); in rsautl_main()
194 pkey = load_pubkey(keyfile, keyformat, 0, NULL, e, "public key"); in rsautl_main()
198 x = load_cert(keyfile, FORMAT_UNDEF, "Certificate"); in rsautl_main()
H A Ddgst.c104 const char *outfile = NULL, *keyfile = NULL, *prog = NULL; in dgst_main() local
156 keyfile = opt_arg(); in dgst_main()
162 keyfile = opt_arg(); in dgst_main()
166 keyfile = opt_arg(); in dgst_main()
228 if (keyfile != NULL && argc > 1) { in dgst_main()
265 if (keyfile != NULL) in dgst_main()
275 if ((!(mac_name == NULL) + !(keyfile == NULL) + !(hmac_key == NULL)) > 1) { in dgst_main()
280 if (keyfile != NULL) { in dgst_main()
284 sigkey = load_pubkey(keyfile, keyform, 0, NULL, e, "public key"); in dgst_main()
286 sigkey = load_key(keyfile, keyform, 0, passin, e, "private key"); in dgst_main()
H A Dcrl.c87 char *infile = NULL, *outfile = NULL, *crldiff = NULL, *keyfile = NULL; in crl_main() local
133 keyfile = opt_arg(); in crl_main()
260 if (!keyfile) { in crl_main()
267 pkey = load_key(keyfile, keyformat, 0, NULL, NULL, "CRL signing key"); in crl_main()
H A Ds_time.c124 char *host = SSL_CONNECT_NAME, *certfile = NULL, *keyfile = NULL, *prog; in s_time_main() local
169 keyfile = opt_arg(); in s_time_main()
258 if (!set_cert_stuff(ctx, certfile, keyfile)) in s_time_main()
H A Dpkeyutl.c24 const char *keyfile, int keyform, int key_type,
589 const char *keyfile, int keyform, int key_type, in get_pkey() argument
608 pkey = load_key(keyfile, keyform, 0, passin, e, "private key"); in get_pkey()
612 pkey = load_pubkey(keyfile, keyform, 0, NULL, e, "public key"); in get_pkey()
616 x = load_cert(keyfile, keyform, "Certificate"); in get_pkey()
H A Dreq.c260 char *outfile = NULL, *keyfile = NULL, *digest = NULL; in req_main() local
314 keyfile = opt_arg(); in req_main()
626 if (keyfile != NULL) { in req_main()
627 pkey = load_key(keyfile, keyform, 0, passin, e, "private key"); in req_main()
695 if (keyout == NULL && keyfile == NULL) in req_main()
698 if (pkey != NULL && (keyfile == NULL || keyout != NULL)) { in req_main()
744 if (keyfile != NULL) in req_main()
810 if (CAcert != NULL && keyfile != NULL) in req_main()
H A Docsp.c244 char *signfile = NULL, *keyfile = NULL; in ocsp_main() local
416 keyfile = opt_arg(); in ocsp_main()
684 if (keyfile == NULL) in ocsp_main()
685 keyfile = signfile; in ocsp_main()
696 key = load_key(keyfile, FORMAT_UNDEF, 0, NULL, NULL, in ocsp_main()
H A Dca.c282 char *dgst = NULL, *policy = NULL, *keyfile = NULL; in ca_main() local
384 keyfile = opt_arg(); in ca_main()
583 if (keyfile == NULL in ca_main()
584 && (keyfile = lookup_conf(conf, section, ENV_PRIVATE_KEY)) == NULL) in ca_main()
594 pkey = load_key(keyfile, keyformat, 0, passin, e, "CA private key"); in ca_main()
/openssl/demos/certs/
H A Dmkcerts.sh86 opensslcmd ca -valid server.pem -keyfile root.pem -cert root.pem \
88 opensslcmd ca -valid client.pem -keyfile root.pem -cert root.pem \
90 opensslcmd ca -valid rev.pem -keyfile root.pem -cert root.pem \
93 opensslcmd ca -gencrl -keyfile root.pem -cert root.pem -config ca.cnf \
97 -keyfile root.pem -cert root.pem -config ca.cnf -md sha1
99 opensslcmd ca -gencrl -keyfile root.pem -cert root.pem -config ca.cnf \
/openssl/util/
H A Dquicserver.c148 char *hostname, *port, *certfile, *keyfile; in main() local
192 keyfile = argv[argnext++]; in main()
207 qtserv = ossl_quic_tserver_new(&tserver_args, certfile, keyfile); in main()
/openssl/test/
H A Dquic_tserver_test.c25 static const char *certfile, *keyfile; variable
127 keyfile))) { in do_test()
428 || !TEST_ptr(keyfile = test_get_argument(1))) in setup_tests()
H A Dquic_multistream_test.c26 static const char *certfile, *keyfile; variable
756 if (!TEST_ptr(h->s_priv = ossl_quic_tserver_new(&s_args, certfile, keyfile))) in helper_init()
5965 || !TEST_ptr(keyfile = test_get_argument(1))) in setup_tests()
/openssl/ssl/quic/
H A Dquic_tserver.c80 const char *certfile, const char *keyfile) in ossl_quic_tserver_new() argument
112 if (keyfile != NULL in ossl_quic_tserver_new()
113 && SSL_CTX_use_PrivateKey_file(srv->ctx, keyfile, SSL_FILETYPE_PEM) <= 0) in ossl_quic_tserver_new()
/openssl/include/internal/
H A Dquic_tserver.h49 const char *certfile, const char *keyfile);
/openssl/test/helpers/
H A Dquictestlib.h45 SSL_CTX *serverctx, char *certfile, char *keyfile,
H A Dquictestlib.c126 SSL_CTX *serverctx, char *certfile, char *keyfile, in qtest_create_quic_objects() argument
315 keyfile))) in qtest_create_quic_objects()
/openssl/test/ocsp-tests/
H A Dmk-ocsp-cert-chain.sh92 -keyfile intermediate-key.pem \
/openssl/apps/lib/
H A Ds_cb.c946 const char *keyfile; member
1110 if (exc->keyfile != NULL) { in load_excert()
1111 exc->key = load_key(exc->keyfile, exc->keyform, in load_excert()
1158 if (exc->keyfile != NULL) { in args_excert()
1162 exc->keyfile = opt_arg(); in args_excert()
/openssl/doc/man1/
H A Dopenssl-ca.pod.in39 [B<-keyfile> I<filename>|I<uri>]
162 The CA certificate, which must match with B<-keyfile>.
169 =item B<-keyfile> I<filename>|I<uri>
213 the certificate requests were signed with (given with B<-keyfile>).
506 Same as the B<-keyfile> option. The file containing the
H A Dopenssl-s_time.pod.in67 =item B<-key> I<keyfile>
H A Dopenssl-req.pod.in742 default_keyfile = keyfile.pem
/openssl/doc/designs/quic-design/
H A Dquic-fault-injector.md212 * keyfile, create a server and client instances as well as a fault injector
216 SSL_CTX *serverctx, char *certfile, char *keyfile,

Completed in 187 milliseconds