Home
last modified time | relevance | path

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

12

/dports/devel/grpc130/grpc-1.30.2/src/core/lib/security/security_connector/
H A Dssl_utils.h148 cert_chain_(const_cast<char*>(pair->cert_chain)) { in PemKeyCertPair()
155 cert_chain_ = std::move(other.cert_chain_); in PemKeyCertPair()
159 cert_chain_ = std::move(other.cert_chain_);
166 cert_chain_(gpr_strdup(other.cert_chain())) {} in PemKeyCertPair()
169 cert_chain_ = grpc_core::UniquePtr<char>(gpr_strdup(other.cert_chain()));
174 char* cert_chain() const { return cert_chain_.get(); } in cert_chain()
178 grpc_core::UniquePtr<char> cert_chain_; variable
/dports/devel/grpc/grpc-1.42.0/src/core/lib/security/security_connector/
H A 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
/dports/devel/pecl-grpc/grpc-1.42.0/src/core/lib/security/security_connector/
H A Dssl_utils.h149 : private_key_(private_key), cert_chain_(cert_chain) {}
154 cert_chain_ = std::move(other.cert_chain_);
158 cert_chain_ = std::move(other.cert_chain_); in grpc_ssl_check_alpn()
164 : private_key_(other.private_key()), cert_chain_(other.cert_chain()) {}
167 cert_chain_ = other.cert_chain();
177 const std::string& cert_chain() const { return cert_chain_; }
181 std::string cert_chain_;
/dports/devel/py-grpcio/grpcio-1.43.0/src/core/lib/security/security_connector/
H A 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
/dports/devel/grpc134/grpc-1.34.1/src/core/lib/security/security_connector/
H A Dssl_utils.h152 cert_chain_(const_cast<char*>(pair->cert_chain)) { in PemKeyCertPair()
159 cert_chain_ = std::move(other.cert_chain_); in PemKeyCertPair()
163 cert_chain_ = std::move(other.cert_chain_);
170 cert_chain_(gpr_strdup(other.cert_chain())) {} in PemKeyCertPair()
173 cert_chain_ = grpc_core::UniquePtr<char>(gpr_strdup(other.cert_chain()));
183 char* cert_chain() const { return cert_chain_.get(); } in cert_chain()
187 grpc_core::UniquePtr<char> cert_chain_; variable
/dports/devel/grpc/grpc-1.42.0/test/core/security/
H A Dgrpc_tls_certificate_provider_test.cc162 cert_chain_ = GetFileContents(SERVER_CERT_PATH); in SetUp()
196 std::string cert_chain_; member in grpc_core::testing::GrpcTlsCertificateProviderTest
217 cert_chain_.c_str())))); in TEST_F()
297 TmpFile tmp_identity_cert(cert_chain_); in TEST_F()
332 TmpFile tmp_identity_cert(cert_chain_); in TEST_F()
365 TmpFile tmp_identity_cert(cert_chain_); in TEST_F()
399 auto tmp_identity_cert = absl::make_unique<TmpFile>(cert_chain_); in TEST_F()
433 TmpFile tmp_identity_cert(cert_chain_); in TEST_F()
465 auto tmp_identity_cert = absl::make_unique<TmpFile>(cert_chain_); in TEST_F()
495 PrivateKeyAndCertificateMatch(/*private_key=*/"", cert_chain_); in TEST_F()
[all …]
H A Dgrpc_tls_credentials_options_test.cc51 cert_chain_ = GetFileContents(SERVER_CERT_PATH); in SetUp()
60 std::string cert_chain_; member in grpc_core::testing::GrpcTlsCredentialsOptionsTest
93 root_cert_, MakeCertKeyPairs(private_key_.c_str(), cert_chain_.c_str())); in TEST_F()
138 "", MakeCertKeyPairs(private_key_.c_str(), cert_chain_.c_str())); in TEST_F()
158 "", MakeCertKeyPairs(private_key_.c_str(), cert_chain_.c_str())); in TEST_F()
199 "", MakeCertKeyPairs(private_key_.c_str(), cert_chain_.c_str())); in TEST_F()
398 TmpFile tmp_identity_cert(cert_chain_); in TEST_F()
423 MakeCertKeyPairs(private_key_.c_str(), cert_chain_.c_str())); in TEST_F()
447 auto tmp_identity_cert = absl::make_unique<TmpFile>(cert_chain_); in TEST_F()
473 MakeCertKeyPairs(private_key_.c_str(), cert_chain_.c_str())); in TEST_F()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/grpc/src/src/core/lib/security/security_connector/
H A Dssl_utils.h137 cert_chain_(const_cast<char*>(pair->cert_chain)) { in PemKeyCertPair()
144 cert_chain_ = std::move(other.cert_chain_); in PemKeyCertPair()
148 cert_chain_ = std::move(other.cert_chain_);
157 char* cert_chain() const { return cert_chain_.get(); } in cert_chain()
161 grpc_core::UniquePtr<char> cert_chain_; variable
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/webrtc/rtc_base/
H A 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()
102 return cert_chain_->Get(0); in certificate()
106 return *cert_chain_.get(); in cert_chain()
H A 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()
337 return *static_cast<const OpenSSLCertificate*>(&cert_chain_->Get(0)); in certificate()
341 return *cert_chain_.get(); in cert_chain()
352 absl::WrapUnique(key_pair_->GetReference()), cert_chain_->Clone())); in CloneInternal()
364 for (size_t i = 1; i < cert_chain_->GetSize(); ++i) { in ConfigureIdentity()
365 cert = static_cast<const OpenSSLCertificate*>(&cert_chain_->Get(i)); in ConfigureIdentity()
H A Dfake_ssl_identity.h78 std::unique_ptr<SSLCertChain> cert_chain_; variable
/dports/net-im/tg_owt/tg_owt-d578c76/src/rtc_base/
H A 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()
H A Dopenssl_identity.cc44 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()
H A Dboringssl_identity.cc41 cert_chain_.reset(new SSLCertChain(std::move(certs))); in BoringSSLIdentity()
46 : key_pair_(std::move(key_pair)), cert_chain_(std::move(cert_chain)) { in BoringSSLIdentity()
48 RTC_DCHECK(cert_chain_ != nullptr); in BoringSSLIdentity()
168 return *static_cast<const BoringSSLCertificate*>(&cert_chain_->Get(0)); in certificate()
172 return *cert_chain_.get(); in cert_chain()
179 new BoringSSLIdentity(key_pair_->Clone(), cert_chain_->Clone())); in CloneInternal()
184 for (size_t i = 0; i < cert_chain_->GetSize(); ++i) { in ConfigureIdentity()
186 static_cast<const BoringSSLCertificate*>(&cert_chain_->Get(i)) in ConfigureIdentity()
H A Dboringssl_identity.h69 std::unique_ptr<SSLCertChain> cert_chain_; variable
H A Dopenssl_identity.h68 std::unique_ptr<SSLCertChain> cert_chain_; variable
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/webrtc/rtc_base/
H A 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()
H A 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()
/dports/www/firefox/firefox-99.0/third_party/libwebrtc/rtc_base/
H A 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()
H A 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()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/webui/
H A Dcertificate_viewer_webui.cc305 : dialog_(dialog), cert_chain_(std::move(cert_chain)) {} in CertificateViewerDialogHandler()
333 cert_chain_.begin() + cert_index, in HandleExportCertificate()
334 cert_chain_.end()); in HandleExportCertificate()
345 CERTCertificate* cert = cert_chain_[cert_index].get(); in HandleRequestCertificateFields()
464 if (cert_index < 0 || cert_index >= static_cast<int>(cert_chain_.size())) in GetCertificateIndex()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/chrome/browser/ui/webui/
H A Dcertificate_viewer_webui.cc305 : dialog_(dialog), cert_chain_(std::move(cert_chain)) {} in CertificateViewerDialogHandler()
332 cert_chain_.begin() + cert_index, in ExportCertificate()
333 cert_chain_.end()); in ExportCertificate()
342 CERTCertificate* cert = cert_chain_[cert_index].get(); in RequestCertificateFields()
466 if (cert_index < 0 || cert_index >= static_cast<int>(cert_chain_.size())) in GetCertificateIndex()
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/libwebrtc/webrtc/rtc_base/
H A Dopensslidentity.cc488 cert_chain_.reset(new SSLCertChain(std::move(certs))); in OpenSSLIdentity()
493 : key_pair_(std::move(key_pair)), cert_chain_(std::move(cert_chain)) { in OpenSSLIdentity()
495 RTC_DCHECK(cert_chain_ != nullptr); in OpenSSLIdentity()
596 return *static_cast<const OpenSSLCertificate*>(&cert_chain_->Get(0)); in certificate()
613 for (size_t i = 1; i < cert_chain_->GetSize(); ++i) { in ConfigureIdentity()
614 cert = static_cast<const OpenSSLCertificate*>(&cert_chain_->Get(i)); in ConfigureIdentity()
/dports/www/firefox-esr/firefox-91.8.0/third_party/libwebrtc/webrtc/rtc_base/
H A Dopensslidentity.cc488 cert_chain_.reset(new SSLCertChain(std::move(certs))); in OpenSSLIdentity()
493 : key_pair_(std::move(key_pair)), cert_chain_(std::move(cert_chain)) { in OpenSSLIdentity()
495 RTC_DCHECK(cert_chain_ != nullptr); in OpenSSLIdentity()
596 return *static_cast<const OpenSSLCertificate*>(&cert_chain_->Get(0)); in certificate()
613 for (size_t i = 1; i < cert_chain_->GetSize(); ++i) { in ConfigureIdentity()
614 cert = static_cast<const OpenSSLCertificate*>(&cert_chain_->Get(i)); in ConfigureIdentity()
/dports/lang/spidermonkey78/firefox-78.9.0/media/webrtc/trunk/webrtc/rtc_base/
H A Dopensslidentity.cc488 cert_chain_.reset(new SSLCertChain(std::move(certs))); in OpenSSLIdentity()
493 : key_pair_(std::move(key_pair)), cert_chain_(std::move(cert_chain)) { in OpenSSLIdentity()
495 RTC_DCHECK(cert_chain_ != nullptr); in OpenSSLIdentity()
596 return *static_cast<const OpenSSLCertificate*>(&cert_chain_->Get(0)); in certificate()
613 for (size_t i = 1; i < cert_chain_->GetSize(); ++i) { in ConfigureIdentity()
614 cert = static_cast<const OpenSSLCertificate*>(&cert_chain_->Get(i)); in ConfigureIdentity()

12