Home
last modified time | relevance | path

Searched refs:cert_chain (Results 1 – 25 of 32) sorted by relevance

12

/external/grpc-grpc/src/ruby/spec/
Dserver_credentials_spec.rb21 [contents[0], [{ private_key: contents[1], cert_chain: contents[2] }], false]
29 creds = Creds.new('a', [{ private_key: 'a', cert_chain: 'b' }], false)
58 [{ server_key: server_key, cert_chain: nil }],
68 [{ server_key: nil, cert_chain: cert_chain }])
Dclient_auth_spec.rb38 [{ private_key: creds[1], cert_chain: creds[2] }],
Dserver_spec.rb21 [contents[0], [{ private_key: contents[1], cert_chain: contents[2] }], false]
/external/grpc-grpc/src/core/lib/security/credentials/ssl/
Dssl_credentials.cc42 gpr_free((void*)kp[i].cert_chain); in grpc_tsi_ssl_pem_key_cert_pairs_destroy()
101 GPR_ASSERT(pem_key_cert_pair->cert_chain != nullptr); in ssl_build_config()
104 config->pem_key_cert_pair->cert_chain = in ssl_build_config()
105 gpr_strdup(pem_key_cert_pair->cert_chain); in ssl_build_config()
175 GPR_ASSERT(pem_key_cert_pairs[i].cert_chain != nullptr); in grpc_convert_grpc_to_tsi_cert_pairs()
176 tsi_pairs[i].cert_chain = gpr_strdup(pem_key_cert_pairs[i].cert_chain); in grpc_convert_grpc_to_tsi_cert_pairs()
214 GPR_ASSERT(pem_key_cert_pairs[i].cert_chain != nullptr); in grpc_ssl_server_certificate_config_create()
215 config->pem_key_cert_pairs[i].cert_chain = in grpc_ssl_server_certificate_config_create()
216 gpr_strdup(pem_key_cert_pairs[i].cert_chain); in grpc_ssl_server_certificate_config_create()
228 gpr_free((void*)config->pem_key_cert_pairs[i].cert_chain); in grpc_ssl_server_certificate_config_destroy()
/external/grpc-grpc/test/core/security/
Dssl_credentials_test.cc50 GPR_ASSERT(strncmp(grpc_pairs[i].cert_chain, tsi_pairs[i].cert_chain, in test_convert_grpc_to_tsi_cert_pairs()
51 strlen(grpc_pairs[i].cert_chain)) == 0); in test_convert_grpc_to_tsi_cert_pairs()
Dssl_server_fuzzer.cc79 pem_key_cert_pair.cert_chain = in LLVMFuzzerTestOneInput()
/external/grpc-grpc/test/core/tsi/
Dssl_transport_security_test.cc323 gpr_free((void*)kp.cert_chain); in ssl_test_pem_key_cert_pair_destroy()
414 key_cert_lib->server_pem_key_cert_pairs[0].cert_chain = in ssl_tsi_test_fixture_create()
418 key_cert_lib->server_pem_key_cert_pairs[1].cert_chain = in ssl_tsi_test_fixture_create()
422 key_cert_lib->bad_server_pem_key_cert_pairs[0].cert_chain = in ssl_tsi_test_fixture_create()
426 key_cert_lib->client_pem_key_cert_pair.cert_chain = in ssl_tsi_test_fixture_create()
430 key_cert_lib->bad_client_pem_key_cert_pair.cert_chain = in ssl_tsi_test_fixture_create()
681 char* cert_chain = load_file(SSL_TSI_TEST_CREDENTIALS_DIR, "client.pem"); in test_tsi_ssl_client_handshaker_factory_refcounting() local
685 options.pem_root_certs = cert_chain; in test_tsi_ssl_client_handshaker_factory_refcounting()
715 gpr_free(cert_chain); in test_tsi_ssl_client_handshaker_factory_refcounting()
722 const char* cert_chain = in test_tsi_ssl_server_handshaker_factory_refcounting() local
[all …]
/external/grpc-grpc/src/php/ext/grpc/
Dchannel_credentials.c131 pem_key_cert_pair.private_key = pem_key_cert_pair.cert_chain = NULL; in PHP_METHOD()
140 &pem_key_cert_pair.cert_chain, in PHP_METHOD()
153 strcpy(hashkey, pem_key_cert_pair.cert_chain); in PHP_METHOD()
Dserver_credentials.c76 &private_key_length, &pem_key_cert_pair.cert_chain, in PHP_METHOD()
/external/boringssl/src/ssl/
Dssl_asn1.cc654 CBS cert_chain; in SSL_SESSION_parse() local
655 CBS_init(&cert_chain, NULL, 0); in SSL_SESSION_parse()
657 if (!CBS_get_optional_asn1(&session, &cert_chain, &has_cert_chain, in SSL_SESSION_parse()
659 (has_cert_chain && CBS_len(&cert_chain) == 0)) { in SSL_SESSION_parse()
683 while (CBS_len(&cert_chain) > 0) { in SSL_SESSION_parse()
685 if (!CBS_get_any_asn1_element(&cert_chain, &cert, NULL, NULL) || in SSL_SESSION_parse()
Dssl_x509.cc366 STACK_OF(X509) *const cert_chain = session->x509_chain; in ssl_crypto_x509_session_verify_cert_chain()
367 if (cert_chain == NULL || sk_X509_num(cert_chain) == 0) { in ssl_crypto_x509_session_verify_cert_chain()
377 X509 *leaf = sk_X509_value(cert_chain, 0); in ssl_crypto_x509_session_verify_cert_chain()
379 if (!X509_STORE_CTX_init(ctx.get(), verify_store, leaf, cert_chain)) { in ssl_crypto_x509_session_verify_cert_chain()
/external/grpc-grpc/test/core/handshake/
Dverify_peer_options.cc66 pem_key_cert_pair.cert_chain = in server_thread()
140 pem_key_cert_pair.cert_chain = in verify_peer_options_test()
Dserver_ssl_common.cc86 pem_key_cert_pair.cert_chain = in server_thread()
Dclient_ssl.cc252 pem_key_cert_pair.cert_chain = in client_ssl_test()
/external/grpc-grpc/test/core/bad_ssl/servers/
Dcert.cc50 pem_key_cert_pair.cert_chain = in main()
/external/grpc-grpc/include/grpcpp/security/
Dserver_credentials.h68 grpc::string cert_chain; member
/external/grpc-grpc/src/ruby/qps/
Dserver.rb46 nil, [{private_key: certs[1], cert_chain: certs[2]}], false)
/external/grpc-grpc/src/ruby/bin/
Dnoproto_server.rb66 nil, [{ private_key: certs[1], cert_chain: certs[2] }], false)
Dmath_server.rb160 nil, [{ private_key: certs[1], cert_chain: certs[2] }], false)
/external/grpc-grpc/src/core/tsi/
Dssl_transport_security.h84 const char* cert_chain; member
/external/grpc-grpc/src/ruby/pb/test/
Dserver.rb108 nil, [{private_key: certs[1], cert_chain: certs[2]}], false)
/external/grpc-grpc/src/ruby/ext/grpc/
Drb_server_credentials.c189 key_cert_pairs[i].cert_chain = RSTRING_PTR(cert); in grpc_rb_server_credentials_init()
Drb_channel_credentials.c165 key_cert_pair.cert_chain = RSTRING_PTR(pem_cert_chain); in grpc_rb_channel_credentials_init()
/external/grpc-grpc/src/cpp/server/
Dsecure_server_credentials.cc114 key_cert_pair->cert_chain.c_str()}; in SslServerCredentials()
/external/grpc-grpc/include/grpc/
Dgrpc_security.h163 const char* cert_chain; member

12