Home
last modified time | relevance | path

Searched refs:cert_chain_ (Results 1 – 7 of 7) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/
Dssl_utils.h149 : 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/
Dgrpc_tls_certificate_provider_test.cc167 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 …]
Dgrpc_tls_credentials_options_test.cc50 cert_chain_ = GetFileContents(SERVER_CERT_PATH); in SetUp()
59 std::string cert_chain_; member in grpc_core::testing::GrpcTlsCredentialsOptionsTest
77 root_cert_, MakeCertKeyPairs(private_key_.c_str(), cert_chain_.c_str())); in TEST_F()
122 "", MakeCertKeyPairs(private_key_.c_str(), cert_chain_.c_str())); in TEST_F()
142 root_cert_, MakeCertKeyPairs(private_key_.c_str(), cert_chain_.c_str())); in TEST_F()
163 "", MakeCertKeyPairs(private_key_.c_str(), cert_chain_.c_str())); in TEST_F()
362 TmpFile tmp_identity_cert(cert_chain_); in TEST_F()
387 MakeCertKeyPairs(private_key_.c_str(), cert_chain_.c_str())); in TEST_F()
411 auto tmp_identity_cert = absl::make_unique<TmpFile>(cert_chain_); in TEST_F()
437 MakeCertKeyPairs(private_key_.c_str(), cert_chain_.c_str())); in TEST_F()
[all …]
/external/webrtc/rtc_base/
Dfake_ssl_identity.cc82 cert_chain_ = std::make_unique<SSLCertChain>(std::move(certs)); in FakeSSLIdentity()
86 : cert_chain_(std::make_unique<SSLCertChain>(cert.Clone())) {} in FakeSSLIdentity()
89 : cert_chain_(o.cert_chain_->Clone()) {} in FakeSSLIdentity()
98 return cert_chain_->Get(0); in certificate()
102 return *cert_chain_.get(); in cert_chain()
Dopenssl_identity.cc200 cert_chain_.reset(new SSLCertChain(std::move(certs))); in OpenSSLIdentity()
205 : key_pair_(std::move(key_pair)), cert_chain_(std::move(cert_chain)) { in OpenSSLIdentity()
207 RTC_DCHECK(cert_chain_ != nullptr); in OpenSSLIdentity()
313 return *static_cast<const OpenSSLCertificate*>(&cert_chain_->Get(0)); in certificate()
317 return *cert_chain_.get(); in cert_chain()
324 absl::WrapUnique(key_pair_->GetReference()), cert_chain_->Clone())); in CloneInternal()
336 for (size_t i = 1; i < cert_chain_->GetSize(); ++i) { in ConfigureIdentity()
337 cert = static_cast<const OpenSSLCertificate*>(&cert_chain_->Get(i)); in ConfigureIdentity()
Dfake_ssl_identity.h77 std::unique_ptr<SSLCertChain> cert_chain_; variable
Dopenssl_identity.h99 std::unique_ptr<SSLCertChain> cert_chain_; variable