Home
last modified time | relevance | path

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

/src/crypto/openssl/apps/
H A Dreq.c842 X509V3_CTX ext_ctx; in req_main() local
884 X509V3_set_ctx(&ext_ctx, CAcert != NULL ? CAcert : new_x509, in req_main()
888 if (!X509V3_set_issuer_pkey(&ext_ctx, issuer_key)) in req_main()
894 X509V3_set_nconf(&ext_ctx, req_conf); in req_main()
898 && !X509V3_EXT_add_nconf(req_conf, &ext_ctx, extsect, new_x509)) { in req_main()
904 && !X509V3_EXT_add_nconf(addext_conf, &ext_ctx, "default", in req_main()
921 &ext_ctx); in req_main()
925 X509V3_CTX ext_ctx; in req_main() local
932 X509V3_set_ctx(&ext_ctx, NULL, NULL, req, NULL, X509V3_CTX_REPLACE); in req_main()
933 X509V3_set_nconf(&ext_ctx, req_conf); in req_main()
[all …]
H A Dx509.c326 X509V3_CTX ext_ctx; in x509_main() local
928 X509V3_set_ctx(&ext_ctx, issuer_cert, x, NULL, NULL, X509V3_CTX_REPLACE); in x509_main()
931 if (!X509V3_set_issuer_pkey(&ext_ctx, privkey)) in x509_main()
935 X509V3_set_nconf(&ext_ctx, extconf); in x509_main()
936 if (!X509V3_EXT_add_nconf(extconf, &ext_ctx, extsect, x)) { in x509_main()
963 X509V3_set_nconf(&ext_ctx, extconf); in x509_main()
964 if (!X509V3_EXT_REQ_add_nconf(extconf, &ext_ctx, extsect, rq)) { in x509_main()
997 if (!do_X509_sign(x, 0, CAkey, digest, sigopts, &ext_ctx)) in x509_main()
1000 if (!do_X509_sign(x, 0, privkey, digest, sigopts, &ext_ctx)) in x509_main()
H A Dca.c1513 X509V3_CTX ext_ctx; in do_body() local
1729 X509V3_set_ctx(&ext_ctx, selfsign ? ret : x509, in do_body()
1734 if (!X509V3_set_issuer_pkey(&ext_ctx, pkey)) in do_body()
1748 X509V3_set_nconf(&ext_ctx, extfile_conf); in do_body()
1751 if (!X509V3_EXT_add_nconf(extfile_conf, &ext_ctx, ext_sect, ret)) { in do_body()
1762 X509V3_set_nconf(&ext_ctx, lconf); in do_body()
1764 if (!X509V3_EXT_add_nconf(lconf, &ext_ctx, ext_sect, ret)) { in do_body()
1941 if (!do_X509_sign(ret, 0, pkey, dgst, sigopts, &ext_ctx)) in do_body()
H A Dcmp.c1762 X509V3_CTX ext_ctx; in setup_request_ctx() local
1987 X509V3_set_ctx(&ext_ctx, NULL, NULL, csr, NULL, X509V3_CTX_REPLACE); in setup_request_ctx()
1988 X509V3_set_nconf(&ext_ctx, conf); in setup_request_ctx()
1990 && !X509V3_EXT_add_nconf_sk(conf, &ext_ctx, opt_reqexts, &exts)) { in setup_request_ctx()
1996 && !X509V3_EXT_add_nconf_sk(conf, &ext_ctx, opt_policies, &exts)) { in setup_request_ctx()
/src/crypto/openssl/apps/include/
H A Dapps.h265 STACK_OF(OPENSSL_STRING) *sigopts, X509V3_CTX *ext_ctx);
/src/crypto/openssl/apps/lib/
H A Dapps.c2287 static int adapt_keyid_ext(X509 *cert, X509V3_CTX *ext_ctx, in adapt_keyid_ext() argument
2291 X509_EXTENSION *new_ext = X509V3_EXT_nconf(NULL, ext_ctx, name, value); in adapt_keyid_ext()
2327 STACK_OF(OPENSSL_STRING) *sigopts, X509V3_CTX *ext_ctx) in do_X509_sign() argument
2342 if (!adapt_keyid_ext(cert, ext_ctx, "subjectKeyIdentifier", "hash", 1)) in do_X509_sign()
2346 if (!adapt_keyid_ext(cert, ext_ctx, "authorityKeyIdentifier", in do_X509_sign()