Searched refs:ext_ctx (Results 1 – 6 of 6) sorted by relevance
/openssl-master/apps/ |
A D | req.c | 793 X509V3_CTX ext_ctx; in req_main() local 835 X509V3_set_ctx(&ext_ctx, CAcert != NULL ? CAcert : new_x509, in req_main() 839 if (!X509V3_set_issuer_pkey(&ext_ctx, issuer_key)) in req_main() 845 X509V3_set_nconf(&ext_ctx, req_conf); in req_main() 855 && !X509V3_EXT_add_nconf(addext_conf, &ext_ctx, "default", in req_main() 870 i = do_X509_sign(new_x509, issuer_key, digest, sigopts, &ext_ctx); in req_main() 874 X509V3_CTX ext_ctx; in req_main() local 881 X509V3_set_ctx(&ext_ctx, NULL, NULL, req, NULL, X509V3_CTX_REPLACE); in req_main() 882 X509V3_set_nconf(&ext_ctx, req_conf); in req_main() 886 && !X509V3_EXT_REQ_add_nconf(req_conf, &ext_ctx, extsect, req)) { in req_main() [all …]
|
A D | x509.c | 260 X509V3_CTX ext_ctx; in x509_main() local 829 X509V3_set_ctx(&ext_ctx, issuer_cert, x, NULL, NULL, X509V3_CTX_REPLACE); in x509_main() 832 if (!X509V3_set_issuer_pkey(&ext_ctx, privkey)) in x509_main() 836 X509V3_set_nconf(&ext_ctx, extconf); in x509_main() 837 if (!X509V3_EXT_add_nconf(extconf, &ext_ctx, extsect, x)) { in x509_main() 864 X509V3_set_nconf(&ext_ctx, extconf); in x509_main() 865 if (!X509V3_EXT_REQ_add_nconf(extconf, &ext_ctx, extsect, rq)) { in x509_main() 888 if (!do_X509_sign(x, privkey, digest, sigopts, &ext_ctx)) in x509_main() 900 if (!do_X509_sign(x, CAkey, digest, sigopts, &ext_ctx)) in x509_main()
|
A D | ca.c | 1494 X509V3_CTX ext_ctx; in do_body() local 1711 X509V3_set_ctx(&ext_ctx, selfsign ? ret : x509, in do_body() 1716 if (!X509V3_set_issuer_pkey(&ext_ctx, pkey)) in do_body() 1730 X509V3_set_nconf(&ext_ctx, extfile_conf); in do_body() 1733 if (!X509V3_EXT_add_nconf(extfile_conf, &ext_ctx, ext_sect, ret)) { in do_body() 1744 X509V3_set_nconf(&ext_ctx, lconf); in do_body() 1746 if (!X509V3_EXT_add_nconf(lconf, &ext_ctx, ext_sect, ret)) { in do_body() 1923 if (!do_X509_sign(ret, pkey, dgst, sigopts, &ext_ctx)) in do_body()
|
A D | cmp.c | 1452 X509V3_CTX ext_ctx; in setup_request_ctx() local 1587 X509V3_set_ctx(&ext_ctx, NULL, NULL, csr, NULL, X509V3_CTX_REPLACE); in setup_request_ctx() 1588 X509V3_set_nconf(&ext_ctx, conf); in setup_request_ctx() 1590 && !X509V3_EXT_add_nconf_sk(conf, &ext_ctx, opt_reqexts, &exts)) { in setup_request_ctx() 1596 && !X509V3_EXT_add_nconf_sk(conf, &ext_ctx, opt_policies, &exts)) { in setup_request_ctx()
|
/openssl-master/apps/include/ |
A D | apps.h | 252 STACK_OF(OPENSSL_STRING) *sigopts, X509V3_CTX *ext_ctx);
|
/openssl-master/apps/lib/ |
A D | apps.c | 2214 static int adapt_keyid_ext(X509 *cert, X509V3_CTX *ext_ctx, in adapt_keyid_ext() argument 2218 X509_EXTENSION *new_ext = X509V3_EXT_nconf(NULL, ext_ctx, name, value); in adapt_keyid_ext() 2254 STACK_OF(OPENSSL_STRING) *sigopts, X509V3_CTX *ext_ctx) in do_X509_sign() argument 2271 if (!adapt_keyid_ext(cert, ext_ctx, "subjectKeyIdentifier", "hash", 1)) in do_X509_sign() 2275 if (!adapt_keyid_ext(cert, ext_ctx, "authorityKeyIdentifier", in do_X509_sign()
|
Completed in 29 milliseconds