/third_party/grpc/src/core/lib/security/security_connector/ |
D | ssl_utils.h | 148 PemKeyCertPair(absl::string_view private_key, absl::string_view cert_chain) in PemKeyCertPair() argument 149 : private_key_(private_key), cert_chain_(cert_chain) {} in PemKeyCertPair() 164 : private_key_(other.private_key()), cert_chain_(other.cert_chain()) {} in PemKeyCertPair() 167 cert_chain_ = other.cert_chain(); 173 this->cert_chain() == other.cert_chain(); 177 const std::string& cert_chain() const { return cert_chain_; } in cert_chain() function
|
/third_party/grpc/src/ruby/spec/ |
D | server_credentials_spec.rb | 21 [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 }])
|
D | client_auth_spec.rb | 38 [{ private_key: creds[1], cert_chain: creds[2] }],
|
/third_party/grpc/src/core/lib/security/credentials/ssl/ |
D | ssl_credentials.cc | 42 gpr_free(const_cast<char*>(kp[i].cert_chain)); in grpc_tsi_ssl_pem_key_cert_pairs_destroy() 101 GPR_ASSERT(pem_key_cert_pair->cert_chain != nullptr); in build_config() 104 config_.pem_key_cert_pair->cert_chain = in build_config() 105 gpr_strdup(pem_key_cert_pair->cert_chain); in build_config() 209 GPR_ASSERT(pem_key_cert_pairs[i].cert_chain != nullptr); in grpc_convert_grpc_to_tsi_cert_pairs() 210 tsi_pairs[i].cert_chain = gpr_strdup(pem_key_cert_pairs[i].cert_chain); in grpc_convert_grpc_to_tsi_cert_pairs() 253 GPR_ASSERT(pem_key_cert_pairs[i].cert_chain != nullptr); in grpc_ssl_server_certificate_config_create() 254 config->pem_key_cert_pairs[i].cert_chain = in grpc_ssl_server_certificate_config_create() 255 gpr_strdup(pem_key_cert_pairs[i].cert_chain); in grpc_ssl_server_certificate_config_create() 267 gpr_free(const_cast<char*>(config->pem_key_cert_pairs[i].cert_chain)); in grpc_ssl_server_certificate_config_destroy()
|
/third_party/grpc/test/core/security/ |
D | ssl_credentials_test.cc | 50 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()
|
D | grpc_tls_credentials_options_test.cc | 79 EXPECT_STREQ(config->pem_key_cert_pair_list()[0].cert_chain(), server_cert); in TEST()
|
/third_party/grpc/test/core/tsi/ |
D | ssl_transport_security_test.cc | 370 gpr_free((void*)kp.cert_chain); in ssl_test_pem_key_cert_pair_destroy() 461 key_cert_lib->server_pem_key_cert_pairs[0].cert_chain = in ssl_tsi_test_fixture_create() 465 key_cert_lib->server_pem_key_cert_pairs[1].cert_chain = in ssl_tsi_test_fixture_create() 469 key_cert_lib->bad_server_pem_key_cert_pairs[0].cert_chain = in ssl_tsi_test_fixture_create() 473 key_cert_lib->client_pem_key_cert_pair.cert_chain = in ssl_tsi_test_fixture_create() 477 key_cert_lib->bad_client_pem_key_cert_pair.cert_chain = in ssl_tsi_test_fixture_create() 775 char* cert_chain = load_file(SSL_TSI_TEST_CREDENTIALS_DIR, "client.pem"); in test_tsi_ssl_client_handshaker_factory_refcounting() local 778 options.pem_root_certs = cert_chain; in test_tsi_ssl_client_handshaker_factory_refcounting() 808 gpr_free(cert_chain); in test_tsi_ssl_client_handshaker_factory_refcounting() 815 const char* cert_chain = in test_tsi_ssl_server_handshaker_factory_refcounting() local [all …]
|
/third_party/grpc/third_party/rake-compiler-dock/build/patches2/hoe-3.20.0/ |
D | 0001-Load-encrypted-private-key-using-ENV-GEM_PRIVATE_KEY.patch | 23 if signing_key and cert_chain then 27 spec.cert_chain = cert_chain
|
/third_party/grpc/test/cpp/client/ |
D | credentials_test.cc | 289 EXPECT_STREQ(pair.cert_chain.c_str(), in TEST_F() 290 c_config->pem_key_cert_pair_list()[0].cert_chain()); in TEST_F() 304 EXPECT_STREQ(list[0].cert_chain.c_str(), "cert_chain"); in TEST_F() 330 c_arg->key_materials_config->pem_key_cert_pair_list()[0].cert_chain(), in TEST_F() 366 EXPECT_STREQ(c_pair_list[0].cert_chain(), "cert_chain1"); in TEST_F() 368 EXPECT_STREQ(c_pair_list[1].cert_chain(), "cert_chain2"); in TEST_F() 370 EXPECT_STREQ(c_pair_list[2].cert_chain(), "cert_chain3"); in TEST_F() 399 ssl_pair->cert_chain = gpr_strdup(test_cert_chain.c_str()); in TEST_F() 423 EXPECT_STREQ(pair_list[0].cert_chain(), "cert_chain"); in TEST_F() 425 EXPECT_STREQ(pair_list[1].cert_chain(), "cert_chain3"); in TEST_F() [all …]
|
/third_party/grpc/src/php/ext/grpc/ |
D | channel_credentials.c | 157 pem_key_cert_pair.private_key = pem_key_cert_pair.cert_chain = NULL; in PHP_METHOD() 166 &pem_key_cert_pair.cert_chain, in PHP_METHOD() 179 strcpy(hashkey, pem_key_cert_pair.cert_chain); in PHP_METHOD()
|
D | server_credentials.c | 81 &private_key_length, &pem_key_cert_pair.cert_chain, in PHP_METHOD()
|
/third_party/grpc/src/objective-c/GRPCClient/private/GRPCCore/ |
D | GRPCSecureChannelFactory.m | 81 key_cert_pair.cert_chain = certChainASCII.bytes; 82 if (key_cert_pair.private_key == NULL || key_cert_pair.cert_chain == NULL) {
|
/third_party/grpc/test/core/bad_ssl/servers/ |
D | cert.cc | 49 pem_key_cert_pair.cert_chain = in main()
|
/third_party/grpc/src/core/lib/security/credentials/tls/ |
D | grpc_tls_certificate_distributor.cc | 336 const char* cert_chain) { in grpc_tls_identity_pairs_add_pair() argument 339 GPR_ASSERT(cert_chain != nullptr); in grpc_tls_identity_pairs_add_pair() 340 pairs->pem_key_cert_pairs.emplace_back(private_key, cert_chain); in grpc_tls_identity_pairs_add_pair()
|
/third_party/grpc/test/core/handshake/ |
D | verify_peer_options.cc | 69 pem_key_cert_pair.cert_chain = in server_thread() 141 pem_key_cert_pair.cert_chain = in verify_peer_options_test()
|
/third_party/grpc/src/ruby/qps/ |
D | server.rb | 46 nil, [{private_key: certs[1], cert_chain: certs[2]}], false)
|
/third_party/grpc/src/ruby/bin/ |
D | noproto_server.rb | 66 nil, [{ private_key: certs[1], cert_chain: certs[2] }], false)
|
D | math_server.rb | 160 nil, [{ private_key: certs[1], cert_chain: certs[2] }], false)
|
/third_party/grpc/include/grpcpp/security/ |
D | server_credentials.h | 49 std::string cert_chain; member
|
/third_party/grpc/include/grpc/ |
D | grpc_security.h | 191 const char* cert_chain; member 793 const char* cert_chain);
|
/third_party/grpc/src/php/tests/generated_code/ |
D | math_server.js | 128 cert_chain: pem_data}])); property
|
/third_party/grpc/src/ruby/end2end/ |
D | call_credentials_timeout_test.rb | 48 [{ private_key: creds[1], cert_chain: creds[2] }],
|
D | call_credentials_timeout_driver.rb | 48 [{ private_key: creds[1], cert_chain: creds[2] }],
|
D | call_credentials_returning_bad_metadata_doesnt_kill_background_thread_test.rb | 48 [{ private_key: creds[1], cert_chain: creds[2] }],
|
/third_party/grpc/src/core/lib/security/security_connector/tls/ |
D | tls_security_connector.cc | 59 GPR_ASSERT(!cert_pair_list[i].cert_chain().empty()); in ConvertToTsiPemKeyCertPair() 60 tsi_pairs[i].cert_chain = in ConvertToTsiPemKeyCertPair() 61 gpr_strdup(cert_pair_list[i].cert_chain().c_str()); in ConvertToTsiPemKeyCertPair()
|