Searched refs:cert_chain_ (Results 1 – 9 of 9) sorted by relevance
/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/ |
D | ssl_utils.h | 149 : private_key_(private_key), cert_chain_(cert_chain) {} in PemKeyCertPair() 154 cert_chain_ = std::move(other.cert_chain_); in PemKeyCertPair() 158 cert_chain_ = std::move(other.cert_chain_); 164 : private_key_(other.private_key()), cert_chain_(other.cert_chain()) {} in PemKeyCertPair() 167 cert_chain_ = other.cert_chain(); 177 const std::string& cert_chain() const { return cert_chain_; } in cert_chain() 181 std::string cert_chain_; variable
|
/external/rust/crates/grpcio-sys/grpc/test/core/security/ |
D | grpc_tls_certificate_provider_test.cc | 167 cert_chain_ = GetFileContents(SERVER_CERT_PATH); in SetUp() 201 std::string cert_chain_; member in grpc_core::testing::GrpcTlsCertificateProviderTest 215 root_cert_, MakeCertKeyPairs(private_key_.c_str(), cert_chain_.c_str())); in TEST_F() 222 cert_chain_.c_str())))); in TEST_F() 236 "", MakeCertKeyPairs(private_key_.c_str(), cert_chain_.c_str())))); in TEST_F() 250 cert_chain_.c_str())))); in TEST_F() 264 "", MakeCertKeyPairs(private_key_.c_str(), cert_chain_.c_str())))); in TEST_F() 302 TmpFile tmp_identity_cert(cert_chain_); in TEST_F() 313 cert_chain_.c_str())))); in TEST_F() 337 TmpFile tmp_identity_cert(cert_chain_); in TEST_F() [all …]
|
D | grpc_tls_credentials_options_test.cc | 50 cert_chain_ = GetFileContents(SERVER_CERT_PATH); in SetUp() 59 std::string cert_chain_; member in grpc_core::testing::GrpcTlsCredentialsOptionsTest 92 root_cert_, MakeCertKeyPairs(private_key_.c_str(), cert_chain_.c_str())); in TEST_F() 137 "", MakeCertKeyPairs(private_key_.c_str(), cert_chain_.c_str())); in TEST_F() 157 "", MakeCertKeyPairs(private_key_.c_str(), cert_chain_.c_str())); in TEST_F() 177 root_cert_, MakeCertKeyPairs(private_key_.c_str(), cert_chain_.c_str())); in TEST_F() 198 "", MakeCertKeyPairs(private_key_.c_str(), cert_chain_.c_str())); in TEST_F() 397 TmpFile tmp_identity_cert(cert_chain_); in TEST_F() 422 MakeCertKeyPairs(private_key_.c_str(), cert_chain_.c_str())); in TEST_F() 446 auto tmp_identity_cert = absl::make_unique<TmpFile>(cert_chain_); in TEST_F() [all …]
|
/external/webrtc/rtc_base/ |
D | fake_ssl_identity.cc | 83 cert_chain_ = std::make_unique<SSLCertChain>(std::move(certs)); in FakeSSLIdentity() 87 : cert_chain_(std::make_unique<SSLCertChain>(cert.Clone())) {} in FakeSSLIdentity() 90 : cert_chain_(o.cert_chain_->Clone()) {} in FakeSSLIdentity() 99 return cert_chain_->Get(0); in certificate() 103 return *cert_chain_.get(); in cert_chain()
|
D | openssl_identity.cc | 44 cert_chain_.reset(new SSLCertChain(std::move(certs))); in OpenSSLIdentity() 49 : key_pair_(std::move(key_pair)), cert_chain_(std::move(cert_chain)) { in OpenSSLIdentity() 51 RTC_DCHECK(cert_chain_ != nullptr); in OpenSSLIdentity() 154 return *static_cast<const OpenSSLCertificate*>(&cert_chain_->Get(0)); in certificate() 158 return *cert_chain_.get(); in cert_chain() 165 new OpenSSLIdentity(key_pair_->Clone(), cert_chain_->Clone())); in CloneInternal() 177 for (size_t i = 1; i < cert_chain_->GetSize(); ++i) { in ConfigureIdentity() 178 cert = static_cast<const OpenSSLCertificate*>(&cert_chain_->Get(i)); in ConfigureIdentity()
|
D | boringssl_identity.cc | 42 cert_chain_.reset(new SSLCertChain(std::move(certs))); in BoringSSLIdentity() 47 : key_pair_(std::move(key_pair)), cert_chain_(std::move(cert_chain)) { in BoringSSLIdentity() 49 RTC_DCHECK(cert_chain_ != nullptr); in BoringSSLIdentity() 169 return *static_cast<const BoringSSLCertificate*>(&cert_chain_->Get(0)); in certificate() 173 return *cert_chain_.get(); in cert_chain() 180 new BoringSSLIdentity(key_pair_->Clone(), cert_chain_->Clone())); in CloneInternal() 185 for (size_t i = 0; i < cert_chain_->GetSize(); ++i) { in ConfigureIdentity() 187 static_cast<const BoringSSLCertificate*>(&cert_chain_->Get(i)) in ConfigureIdentity()
|
D | openssl_identity.h | 70 std::unique_ptr<SSLCertChain> cert_chain_; variable
|
D | boringssl_identity.h | 72 std::unique_ptr<SSLCertChain> cert_chain_; variable
|
D | fake_ssl_identity.h | 78 std::unique_ptr<SSLCertChain> cert_chain_; variable
|