Home
last modified time | relevance | path

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

/third_party/mbedtls/programs/x509/
Dcert_write.c161 const char *issuer_key; /* filename of the issuer key file */ member
218 mbedtls_pk_context *issuer_key = &loaded_issuer_key, in main() local
259 opt.issuer_key = DFL_ISSUER_KEY; in main()
292 opt.issuer_key = q; in main()
591 ret = mbedtls_pk_parse_keyfile( &loaded_issuer_key, opt.issuer_key, in main()
605 if( mbedtls_pk_check_pair( &issuer_crt.pk, issuer_key, in main()
619 subject_key = issuer_key; in main()
623 mbedtls_x509write_crt_set_issuer_key( &crt, issuer_key ); in main()
/third_party/mbedtls/tests/suites/
Dtest_suite_x509write.function207 mbedtls_pk_context subject_key, issuer_key, issuer_key_alt;
208 mbedtls_pk_context *key = &issuer_key;
224 mbedtls_pk_init( &issuer_key );
232 TEST_ASSERT( mbedtls_pk_parse_keyfile( &issuer_key, issuer_key_file,
237 if( rsa_alt == 1 && mbedtls_pk_get_type( &issuer_key ) == MBEDTLS_PK_RSA )
240 mbedtls_pk_rsa( issuer_key ),
317 mbedtls_pk_free( &issuer_key );
/third_party/mbedtls/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…
119 …sha256 selfsign=1 issuer_name="C=NL,O=PolarSSL,CN=Polarssl Test EC CA" issuer_key=$(test_ca_key_fi…
184 …_clear.pem subject_name="CN=dw.yonan.net" issuer_crt=enco-ca-prstr.pem issuer_key=rsa_pkcs1_1024_c…
201 …$(MBEDTLS_CERT_WRITE) request_file=$< serial=4 issuer_crt=$(test_ca_crt) issuer_key=$(test_ca_key_…
204 …$(MBEDTLS_CERT_WRITE) request_file=$< serial=4 issuer_crt=$(test_ca_crt) issuer_key=$(test_ca_key_…
242 …ial=13 selfsign=0 issuer_name="C=NL,O=PolarSSL,CN=PolarSSL Test EC CA" issuer_key=$(test_ca_key_fi…
962 …$(MBEDTLS_CERT_WRITE) request_file=server1.req.sha256 issuer_crt=$(test_ca_crt) issuer_key=$(test_…
964 …$(MBEDTLS_CERT_WRITE) request_file=server1.req.sha256 issuer_crt=$(test_ca_crt) issuer_key=$(test_…
[all …]
/third_party/mbedtls/library/
Dx509write_crt.c83 ctx->issuer_key = key; in mbedtls_x509write_crt_set_issuer_key()
207 mbedtls_pk_write_pubkey( &c, buf, ctx->issuer_key ) ); in mbedtls_x509write_crt_set_authority_key_identifier()
348 if( mbedtls_pk_can_do( ctx->issuer_key, MBEDTLS_PK_RSA ) ) in mbedtls_x509write_crt_der()
350 else if( mbedtls_pk_can_do( ctx->issuer_key, MBEDTLS_PK_ECDSA ) ) in mbedtls_x509write_crt_der()
475 if( ( ret = mbedtls_pk_sign( ctx->issuer_key, ctx->md_alg, in mbedtls_x509write_crt_der()
/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/mbedtls/include/mbedtls/
Dx509_crt.h286 mbedtls_pk_context *MBEDTLS_PRIVATE(issuer_key);