Home
last modified time | relevance | path

Searched refs:ext_ctx (Results 1 – 6 of 6) sorted by relevance

/openssl/apps/
H A Dreq.c804 X509V3_CTX ext_ctx; in req_main() local
847 X509V3_set_ctx(&ext_ctx, CAcert != NULL ? CAcert : new_x509, in req_main()
851 if (!X509V3_set_issuer_pkey(&ext_ctx, issuer_key)) in req_main()
857 X509V3_set_nconf(&ext_ctx, req_conf); in req_main()
867 && !X509V3_EXT_add_nconf(addext_conf, &ext_ctx, "default", in req_main()
883 &ext_ctx); in req_main()
887 X509V3_CTX ext_ctx; in req_main() local
894 X509V3_set_ctx(&ext_ctx, NULL, NULL, req, NULL, X509V3_CTX_REPLACE); in req_main()
895 X509V3_set_nconf(&ext_ctx, req_conf); in req_main()
899 && !X509V3_EXT_REQ_add_nconf(req_conf, &ext_ctx, extsect, req)) { in req_main()
[all …]
H A Dx509.c269 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 Dca.c1473 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 Dcmp.c1665 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 Dapps.h265 STACK_OF(OPENSSL_STRING) *sigopts, X509V3_CTX *ext_ctx);
/openssl/apps/lib/
H A Dapps.c2324 static int adapt_keyid_ext(X509 *cert, X509V3_CTX *ext_ctx, in adapt_keyid_ext() argument
2328 X509_EXTENSION *new_ext = X509V3_EXT_nconf(NULL, ext_ctx, name, value); in adapt_keyid_ext()
2364 STACK_OF(OPENSSL_STRING) *sigopts, X509V3_CTX *ext_ctx) in do_X509_sign() argument
2379 if (!adapt_keyid_ext(cert, ext_ctx, "subjectKeyIdentifier", "hash", 1)) in do_X509_sign()
2383 if (!adapt_keyid_ext(cert, ext_ctx, "authorityKeyIdentifier", in do_X509_sign()

Completed in 39 milliseconds