Searched refs:ext_ctx (Results 1 – 6 of 6) sorted by relevance
/openssl/apps/ |
H A D | req.c | 806 X509V3_CTX ext_ctx; in req_main() local 849 X509V3_set_ctx(&ext_ctx, CAcert != NULL ? CAcert : new_x509, in req_main() 853 if (!X509V3_set_issuer_pkey(&ext_ctx, issuer_key)) in req_main() 859 X509V3_set_nconf(&ext_ctx, req_conf); in req_main() 869 && !X509V3_EXT_add_nconf(addext_conf, &ext_ctx, "default", in req_main() 885 &ext_ctx); in req_main() 889 X509V3_CTX ext_ctx; in req_main() local 896 X509V3_set_ctx(&ext_ctx, NULL, NULL, req, NULL, X509V3_CTX_REPLACE); in req_main() 897 X509V3_set_nconf(&ext_ctx, req_conf); in req_main() 901 && !X509V3_EXT_REQ_add_nconf(req_conf, &ext_ctx, extsect, req)) { in req_main() [all …]
|
H A D | x509.c | 269 X509V3_CTX ext_ctx; in x509_main() local 872 X509V3_set_ctx(&ext_ctx, issuer_cert, x, NULL, NULL, X509V3_CTX_REPLACE); in x509_main() 875 if (!X509V3_set_issuer_pkey(&ext_ctx, privkey)) in x509_main() 879 X509V3_set_nconf(&ext_ctx, extconf); in x509_main() 880 if (!X509V3_EXT_add_nconf(extconf, &ext_ctx, extsect, x)) { in x509_main() 907 X509V3_set_nconf(&ext_ctx, extconf); in x509_main() 908 if (!X509V3_EXT_REQ_add_nconf(extconf, &ext_ctx, extsect, rq)) { in x509_main() 940 if (!do_X509_sign(x, 0, CAkey, digest, sigopts, &ext_ctx)) in x509_main() 943 if (!do_X509_sign(x, 0, privkey, digest, sigopts, &ext_ctx)) in x509_main()
|
H A D | ca.c | 1473 X509V3_CTX ext_ctx; in do_body() local 1690 X509V3_set_ctx(&ext_ctx, selfsign ? ret : x509, in do_body() 1695 if (!X509V3_set_issuer_pkey(&ext_ctx, pkey)) in do_body() 1709 X509V3_set_nconf(&ext_ctx, extfile_conf); in do_body() 1712 if (!X509V3_EXT_add_nconf(extfile_conf, &ext_ctx, ext_sect, ret)) { in do_body() 1723 X509V3_set_nconf(&ext_ctx, lconf); in do_body() 1725 if (!X509V3_EXT_add_nconf(lconf, &ext_ctx, ext_sect, ret)) { in do_body() 1902 if (!do_X509_sign(ret, 0, pkey, dgst, sigopts, &ext_ctx)) in do_body()
|
H A D | cmp.c | 1665 X509V3_CTX ext_ctx; in setup_request_ctx() local 1868 X509V3_set_ctx(&ext_ctx, NULL, NULL, csr, NULL, X509V3_CTX_REPLACE); in setup_request_ctx() 1869 X509V3_set_nconf(&ext_ctx, conf); in setup_request_ctx() 1871 && !X509V3_EXT_add_nconf_sk(conf, &ext_ctx, opt_reqexts, &exts)) { in setup_request_ctx() 1877 && !X509V3_EXT_add_nconf_sk(conf, &ext_ctx, opt_policies, &exts)) { in setup_request_ctx()
|
/openssl/apps/include/ |
H A D | apps.h | 265 STACK_OF(OPENSSL_STRING) *sigopts, X509V3_CTX *ext_ctx);
|
/openssl/apps/lib/ |
H A D | apps.c | 2295 static int adapt_keyid_ext(X509 *cert, X509V3_CTX *ext_ctx, in adapt_keyid_ext() argument 2299 X509_EXTENSION *new_ext = X509V3_EXT_nconf(NULL, ext_ctx, name, value); in adapt_keyid_ext() 2335 STACK_OF(OPENSSL_STRING) *sigopts, X509V3_CTX *ext_ctx) in do_X509_sign() argument 2350 if (!adapt_keyid_ext(cert, ext_ctx, "subjectKeyIdentifier", "hash", 1)) in do_X509_sign() 2354 if (!adapt_keyid_ext(cert, ext_ctx, "authorityKeyIdentifier", in do_X509_sign()
|
Completed in 60 milliseconds