Home
last modified time | relevance | path

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

/mbedtls-3.5.0/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()
/mbedtls-3.5.0/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 …]
/mbedtls-3.5.0/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()
/mbedtls-3.5.0/tests/data_files/
DMakefile49 …eq.sha256 selfsign=1 issuer_name="C=NL,O=PolarSSL,CN=PolarSSL Test CA" issuer_key=$(test_ca_key_fi…
61 …eq.sha256 selfsign=1 issuer_name="C=NL,O=PolarSSL,CN=PolarSSL Test CA" issuer_key=$(test_ca_key_fi…
69 …eq.sha256 selfsign=1 issuer_name="C=NL,O=PolarSSL,CN=PolarSSL Test CA" issuer_key=$(test_ca_key_fi…
169 …sha256 selfsign=1 issuer_name="C=NL,O=PolarSSL,CN=Polarssl Test EC CA" issuer_key=$(test_ca_key_fi…
234 …_clear.pem subject_name="CN=dw.yonan.net" issuer_crt=enco-ca-prstr.pem issuer_key=rsa_pkcs1_1024_c…
251 …$(MBEDTLS_CERT_WRITE) request_file=$< serial=4 issuer_crt=$(test_ca_crt) issuer_key=$(test_ca_key_…
254 …$(MBEDTLS_CERT_WRITE) request_file=$< serial=4 issuer_crt=$(test_ca_crt) issuer_key=$(test_ca_key_…
292 …ial=13 selfsign=0 issuer_name="C=NL,O=PolarSSL,CN=PolarSSL Test EC CA" issuer_key=$(test_ca_key_fi…
1094 …$(MBEDTLS_CERT_WRITE) request_file=server1.req.sha256 issuer_crt=$(test_ca_crt) issuer_key=$(test_…
1105 …$(MBEDTLS_CERT_WRITE) request_file=server1.req.sha256 issuer_crt=$(test_ca_crt) issuer_key=$(test_…
[all …]
/mbedtls-3.5.0/include/mbedtls/
Dx509_crt.h233 mbedtls_pk_context *MBEDTLS_PRIVATE(issuer_key);