/external/rust/crates/grpcio-sys/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
|
/external/grpc-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 }])
|
/external/grpc-grpc/src/core/lib/security/credentials/ssl/ |
D | ssl_credentials.cc | 42 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/rust/crates/grpcio-sys/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() 208 GPR_ASSERT(pem_key_cert_pairs[i].cert_chain != nullptr); in grpc_convert_grpc_to_tsi_cert_pairs() 209 tsi_pairs[i].cert_chain = gpr_strdup(pem_key_cert_pairs[i].cert_chain); in grpc_convert_grpc_to_tsi_cert_pairs() 252 GPR_ASSERT(pem_key_cert_pairs[i].cert_chain != nullptr); in grpc_ssl_server_certificate_config_create() 253 config->pem_key_cert_pairs[i].cert_chain = in grpc_ssl_server_certificate_config_create() 254 gpr_strdup(pem_key_cert_pairs[i].cert_chain); in grpc_ssl_server_certificate_config_create() 266 gpr_free(const_cast<char*>(config->pem_key_cert_pairs[i].cert_chain)); in grpc_ssl_server_certificate_config_destroy()
|
/external/grpc-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()
|
/external/rust/crates/grpcio-sys/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()
|
/external/grpc-grpc/test/core/tsi/ |
D | ssl_transport_security_test.cc | 323 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/openscreen/cast/sender/channel/ |
D | cast_auth_util.cc | 340 std::vector<std::string> cert_chain; in VerifyCredentialsImpl() local 341 cert_chain.push_back(response.client_auth_certificate()); in VerifyCredentialsImpl() 342 cert_chain.insert(cert_chain.end(), in VerifyCredentialsImpl() 355 VerifyDeviceCert(cert_chain, verification_time, &verification_context, in VerifyCredentialsImpl()
|
/external/grpc-grpc/src/php/ext/grpc/ |
D | channel_credentials.c | 131 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()
|
D | server_credentials.c | 76 &private_key_length, &pem_key_cert_pair.cert_chain, in PHP_METHOD()
|
/external/webrtc/rtc_base/ |
D | openssl_identity.h | 78 const SSLCertChain& cert_chain() const override; 92 std::unique_ptr<SSLCertChain> cert_chain);
|
D | openssl_identity.cc | 204 std::unique_ptr<SSLCertChain> cert_chain) in OpenSSLIdentity() argument 205 : key_pair_(std::move(key_pair)), cert_chain_(std::move(cert_chain)) { in OpenSSLIdentity() 316 const SSLCertChain& OpenSSLIdentity::cert_chain() const { in cert_chain() function in rtc::OpenSSLIdentity
|
D | rtc_certificate.cc | 56 return identity_->cert_chain(); in GetSSLCertificateChain()
|
D | fake_ssl_identity.h | 66 const SSLCertChain& cert_chain() const override;
|
/external/rust/crates/grpcio/src/security/ |
D | credentials.rs | 163 cert_chain: CString::new(cert).unwrap().into_raw(), in add_cert() 204 CString::from_raw(pair.cert_chain as *mut _); in drop() 288 cert_chain: cert_ptr, in build()
|
/external/rust/crates/quiche/deps/boringssl/src/ssl/ |
D | ssl_asn1.cc | 676 CBS cert_chain; in SSL_SESSION_parse() local 677 CBS_init(&cert_chain, NULL, 0); in SSL_SESSION_parse() 679 if (!CBS_get_optional_asn1(&session, &cert_chain, &has_cert_chain, in SSL_SESSION_parse() 681 (has_cert_chain && CBS_len(&cert_chain) == 0)) { in SSL_SESSION_parse() 705 while (CBS_len(&cert_chain) > 0) { in SSL_SESSION_parse() 707 if (!CBS_get_any_asn1_element(&cert_chain, &cert, NULL, NULL) || in SSL_SESSION_parse()
|
/external/boringssl/src/ssl/ |
D | ssl_asn1.cc | 696 CBS cert_chain; in SSL_SESSION_parse() local 697 CBS_init(&cert_chain, NULL, 0); in SSL_SESSION_parse() 699 if (!CBS_get_optional_asn1(&session, &cert_chain, &has_cert_chain, in SSL_SESSION_parse() 701 (has_cert_chain && CBS_len(&cert_chain) == 0)) { in SSL_SESSION_parse() 725 while (CBS_len(&cert_chain) > 0) { in SSL_SESSION_parse() 727 if (!CBS_get_any_asn1_element(&cert_chain, &cert, NULL, NULL) || in SSL_SESSION_parse()
|
/external/grpc-grpc/test/core/bad_ssl/servers/ |
D | cert.cc | 50 pem_key_cert_pair.cert_chain = in main()
|
/external/grpc-grpc/test/core/handshake/ |
D | verify_peer_options.cc | 66 pem_key_cert_pair.cert_chain = in server_thread() 140 pem_key_cert_pair.cert_chain = in verify_peer_options_test()
|
/external/rust/crates/grpcio-sys/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()
|
/external/grpc-grpc/include/grpcpp/security/ |
D | server_credentials.h | 68 grpc::string cert_chain; member
|
/external/grpc-grpc/src/ruby/qps/ |
D | server.rb | 46 nil, [{private_key: certs[1], cert_chain: certs[2]}], false)
|
/external/grpc-grpc/src/ruby/bin/ |
D | noproto_server.rb | 66 nil, [{ private_key: certs[1], cert_chain: certs[2] }], false)
|
/external/rust/crates/grpcio-sys/grpc/spm-cpp-include/grpcpp/security/ |
D | server_credentials.h | 49 std::string cert_chain; member
|
/external/rust/crates/grpcio-sys/grpc/include/grpcpp/security/ |
D | server_credentials.h | 49 std::string cert_chain; member
|