Home
last modified time | relevance | path

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

12

/third_party/grpc/src/core/lib/security/security_connector/
Dssl_utils.h148 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/
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] }],
/third_party/grpc/src/core/lib/security/credentials/ssl/
Dssl_credentials.cc42 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/
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()
Dgrpc_tls_credentials_options_test.cc79 EXPECT_STREQ(config->pem_key_cert_pair_list()[0].cert_chain(), server_cert); in TEST()
/third_party/grpc/test/core/tsi/
Dssl_transport_security_test.cc370 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/
D0001-Load-encrypted-private-key-using-ENV-GEM_PRIVATE_KEY.patch23 if signing_key and cert_chain then
27 spec.cert_chain = cert_chain
/third_party/grpc/test/cpp/client/
Dcredentials_test.cc289 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/
Dchannel_credentials.c157 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()
Dserver_credentials.c81 &private_key_length, &pem_key_cert_pair.cert_chain, in PHP_METHOD()
/third_party/grpc/src/objective-c/GRPCClient/private/GRPCCore/
DGRPCSecureChannelFactory.m81 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/
Dcert.cc49 pem_key_cert_pair.cert_chain = in main()
/third_party/grpc/src/core/lib/security/credentials/tls/
Dgrpc_tls_certificate_distributor.cc336 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/
Dverify_peer_options.cc69 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/
Dserver.rb46 nil, [{private_key: certs[1], cert_chain: certs[2]}], false)
/third_party/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)
/third_party/grpc/include/grpcpp/security/
Dserver_credentials.h49 std::string cert_chain; member
/third_party/grpc/include/grpc/
Dgrpc_security.h191 const char* cert_chain; member
793 const char* cert_chain);
/third_party/grpc/src/php/tests/generated_code/
Dmath_server.js128 cert_chain: pem_data}])); property
/third_party/grpc/src/ruby/end2end/
Dcall_credentials_timeout_test.rb48 [{ private_key: creds[1], cert_chain: creds[2] }],
Dcall_credentials_timeout_driver.rb48 [{ private_key: creds[1], cert_chain: creds[2] }],
Dcall_credentials_returning_bad_metadata_doesnt_kill_background_thread_test.rb48 [{ private_key: creds[1], cert_chain: creds[2] }],
/third_party/grpc/src/core/lib/security/security_connector/tls/
Dtls_security_connector.cc59 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()

12