Home
last modified time | relevance | path

Searched refs:issuer_key (Results 1 – 9 of 9) sorted by relevance

/third_party/mbedtls/programs/x509/
Dcert_write.c185 const char *issuer_key; /* filename of the issuer key file */ member
298 mbedtls_pk_context *issuer_key = &loaded_issuer_key, in main() local
341 opt.issuer_key = DFL_ISSUER_KEY; in main()
377 opt.issuer_key = q; in main()
686 ret = mbedtls_pk_parse_keyfile(&loaded_issuer_key, opt.issuer_key, in main()
698 if (mbedtls_pk_check_pair(&issuer_crt.pk, issuer_key, in main()
710 subject_key = issuer_key; in main()
714 mbedtls_x509write_crt_set_issuer_key(&crt, issuer_key); in main()
/third_party/mbedtls/tests/suites/
Dtest_suite_x509write.function334 mbedtls_pk_context subject_key, issuer_key, issuer_key_alt;
335 mbedtls_pk_context *key = &issuer_key;
363 mbedtls_pk_init(&issuer_key);
371 TEST_ASSERT(mbedtls_pk_parse_keyfile(&issuer_key, issuer_key_file,
374 issuer_key_type = mbedtls_pk_get_type(&issuer_key);
380 mbedtls_pk_rsa(issuer_key),
397 if (mbedtls_pk_get_type(&issuer_key) == MBEDTLS_PK_ECKEY) {
399 } else if (mbedtls_pk_get_type(&issuer_key) == MBEDTLS_PK_RSA) {
405 TEST_ASSERT(mbedtls_pk_wrap_as_opaque(&issuer_key, &key_id, alg_psa,
412 TEST_ASSERT(mbedtls_pk_get_type(&issuer_key) == MBEDTLS_PK_OPAQUE);
[all …]
/third_party/mbedtls/library/
Dx509write_crt.c88 ctx->issuer_key = key; in mbedtls_x509write_crt_set_issuer_key()
217 ctx->issuer_key : in mbedtls_x509write_crt_set_key_identifier()
449 if (mbedtls_pk_can_do(ctx->issuer_key, MBEDTLS_PK_RSA)) { in mbedtls_x509write_crt_der()
451 } else if (mbedtls_pk_can_do(ctx->issuer_key, MBEDTLS_PK_ECDSA)) { in mbedtls_x509write_crt_der()
608 if ((ret = mbedtls_pk_sign(ctx->issuer_key, ctx->md_alg, in mbedtls_x509write_crt_der()
/third_party/mbedtls/tests/data_files/
DMakefile53 …eq.sha256 selfsign=1 issuer_name="C=NL,O=PolarSSL,CN=PolarSSL Test CA" issuer_key=$(test_ca_key_fi…
64 …eq.sha256 selfsign=1 issuer_name="C=NL,O=PolarSSL,CN=PolarSSL Test CA" issuer_key=$(test_ca_key_fi…
72 …eq.sha256 selfsign=1 issuer_name="C=NL,O=PolarSSL,CN=PolarSSL Test CA" issuer_key=$(test_ca_key_fi…
175 …sha256 selfsign=1 issuer_name="C=NL,O=PolarSSL,CN=Polarssl Test EC CA" issuer_key=$(test_ca_key_fi…
180 issuer_name="C=NL,O=PolarSSL,CN=Polarssl Test EC CA" issuer_key=$(test_ca_key_file_ec) \
282 …_clear.pem subject_name="CN=dw.yonan.net" issuer_crt=enco-ca-prstr.pem issuer_key=rsa_pkcs1_1024_c…
297 …$(MBEDTLS_CERT_WRITE) request_file=$< serial=4 issuer_crt=$(test_ca_crt) issuer_key=$(test_ca_key_…
300 …$(MBEDTLS_CERT_WRITE) request_file=$< serial=4 issuer_crt=$(test_ca_crt) issuer_key=$(test_ca_key_…
371 issuer_crt=$(test_ca_int_ec) issuer_key=$(test_ca_int_key_file_ec) \
386 …ial=13 selfsign=0 issuer_name="C=NL,O=PolarSSL,CN=PolarSSL Test EC CA" issuer_key=$(test_ca_key_fi…
[all …]
/third_party/node/deps/openssl/openssl/crypto/x509/
Dv3_purp.c367 static int check_sig_alg_match(const EVP_PKEY *issuer_key, const X509 *subject) in check_sig_alg_match() argument
371 if (issuer_key == NULL) in check_sig_alg_match()
376 if (EVP_PKEY_is_a(issuer_key, OBJ_nid2sn(subj_sig_nid)) in check_sig_alg_match()
377 || (EVP_PKEY_is_a(issuer_key, "RSA") && subj_sig_nid == NID_rsassaPss)) in check_sig_alg_match()
/third_party/openssl/crypto/x509/
Dv3_purp.c367 static int check_sig_alg_match(const EVP_PKEY *issuer_key, const X509 *subject) in check_sig_alg_match() argument
371 if (issuer_key == NULL) in check_sig_alg_match()
376 if (EVP_PKEY_is_a(issuer_key, OBJ_nid2sn(subj_sig_nid)) in check_sig_alg_match()
377 || (EVP_PKEY_is_a(issuer_key, "RSA") && subj_sig_nid == NID_rsassaPss)) in check_sig_alg_match()
/third_party/openssl/apps/
Dreq.c798 EVP_PKEY *issuer_key = CAcert != NULL ? CAkey : pkey; in req_main() local
841 if (!X509V3_set_issuer_pkey(&ext_ctx, issuer_key)) in req_main()
844 if (!X509_check_private_key(new_x509, issuer_key)) in req_main()
875 i = do_X509_sign(new_x509, issuer_key, digest, sigopts, &ext_ctx); in req_main()
/third_party/node/deps/openssl/openssl/apps/
Dreq.c802 EVP_PKEY *issuer_key = CAcert != NULL ? CAkey : pkey; in req_main() local
845 if (!X509V3_set_issuer_pkey(&ext_ctx, issuer_key)) in req_main()
848 if (!X509_check_private_key(new_x509, issuer_key)) in req_main()
879 i = do_X509_sign(new_x509, issuer_key, digest, sigopts, &ext_ctx); in req_main()
/third_party/mbedtls/include/mbedtls/
Dx509_crt.h233 mbedtls_pk_context *MBEDTLS_PRIVATE(issuer_key);