Home
last modified time | relevance | path

Searched refs:certs_ (Results 1 – 13 of 13) sorted by relevance

/external/chromium_org/third_party/webrtc/base/
Dsslidentity.h82 certs_.resize(certs.size()); in SSLCertChain()
83 std::transform(certs.begin(), certs.end(), certs_.begin(), DupCert); in SSLCertChain()
86 certs_.push_back(cert->GetReference()); in SSLCertChain()
90 std::for_each(certs_.begin(), certs_.end(), DeleteCert); in ~SSLCertChain()
94 size_t GetSize() const { return certs_.size(); } in GetSize()
97 const SSLCertificate& Get(size_t pos) const { return *(certs_[pos]); } in Get()
102 return new SSLCertChain(certs_); in Copy()
114 std::vector<SSLCertificate*> certs_; variable
Dfakesslidentity.h33 certs_.push_back(FakeSSLCertificate(*it)); in FakeSSLCertificate()
63 if (certs_.empty()) in GetChain()
65 std::vector<SSLCertificate*> new_certs(certs_.size()); in GetChain()
66 std::transform(certs_.begin(), certs_.end(), new_certs.begin(), DupCert); in GetChain()
78 std::vector<FakeSSLCertificate> certs_; variable
/external/chromium_org/net/cert/
Dx509_util_ios.cc119 certs_.push_back(CreateNSSCertHandleFromOSHandle( in NSSCertChain()
124 certs_.push_back(CreateNSSCertHandleFromOSHandle(cert_intermediates[i])); in NSSCertChain()
128 for (size_t i = 0; i < certs_.size(); ++i) in ~NSSCertChain()
129 CERT_DestroyCertificate(certs_[i]); in ~NSSCertChain()
133 return certs_.empty() ? NULL : certs_.front(); in cert_handle()
137 return certs_; in cert_chain()
Dnss_profile_filter_chromeos_unittest.cc92 certs_ = CreateCertificateListFromFile(GetTestCertsDirectory(), in SetUp()
95 ASSERT_EQ(1U, certs_.size()); in SetUp()
103 CertificateList certs_; member in net::NSSProfileFilterChromeOSTest
114 EXPECT_EQ(NULL, certs_[0]->os_cert_handle()->slot); in TEST_F()
116 no_slots_profile_filter_.IsCertAllowed(certs_[0]->os_cert_handle())); in TEST_F()
117 EXPECT_FALSE(profile_filter_1_.IsCertAllowed(certs_[0]->os_cert_handle())); in TEST_F()
119 profile_filter_1_copy_.IsCertAllowed(certs_[0]->os_cert_handle())); in TEST_F()
120 EXPECT_FALSE(profile_filter_2_.IsCertAllowed(certs_[0]->os_cert_handle())); in TEST_F()
167 scoped_refptr<X509Certificate> cert_1 = certs_[0]; in TEST_F()
Dx509_util_ios.h66 std::vector<CERTCertificate*> certs_;
/external/chromium_org/net/quic/test_tools/
Dcrypto_test_utils_chromium.cc51 FakeProofSource() : certs_(2) { in FakeProofSource()
52 certs_[0] = kLeafCert; in FakeProofSource()
53 certs_[1] = kIntermediateCert; in FakeProofSource()
63 *out_certs = &certs_; in GetProof()
69 std::vector<std::string> certs_; member in net::test::__anond6fbd9bf0111::FakeProofSource
/external/chromium_org/chrome/browser/chromeos/options/
Dcert_library.cc207 certs_.clear(); in OnCertificatesLoaded()
215 certs_.push_back(iter->get()); in OnCertificatesLoaded()
246 std::sort(certs_.begin(), certs_.end(), cert_name_comparator); in OnCertificatesLoaded()
252 VLOG(1) << "certs_: " << certs_.size(); in OnCertificatesLoaded()
278 return certs_; in GetCertificateListForType()
Dcert_library.h98 net::CertificateList certs_; variable
/external/chromium_org/chromeos/network/
Dnetwork_cert_migrator.cc70 : certs_(certs), in MigrationTask()
240 for (net::CertificateList::iterator it = certs_.begin(); it != certs_.end(); in FindCertificateWithPkcs11Id()
255 for (net::CertificateList::iterator it = certs_.begin(); it != certs_.end(); in FindCertificateWithNickname()
309 net::CertificateList certs_; member in chromeos::NetworkCertMigrator::MigrationTask
/external/chromium_org/net/quic/crypto/
Dquic_crypto_client_config.cc173 signature != server_config_sig_ || certs_.size() != certs.size(); in SetProof()
176 for (size_t i = 0; i < certs_.size(); i++) { in SetProof()
177 if (certs_[i] != certs[i]) { in SetProof()
190 certs_ = certs; in SetProof()
197 certs_.clear(); in Clear()
207 certs_.clear(); in ClearProof()
242 certs_ = certs; in Initialize()
256 return certs_; in certs()
292 certs_ = other.certs_; in InitializeFrom()
Dquic_crypto_client_config.h114 std::vector<std::string> certs_; // A list of certificates in leaf-first variable
/external/chromium_org/net/socket/
Dssl_client_socket_nss.cc331 bool empty() const { return certs_.empty(); } in empty()
334 DCHECK_LT(index, certs_.size()); in operator []()
335 return certs_[index]; in operator []()
339 std::vector<CERTCertificate*> certs_; member in net::__anoncaed73cf0111::PeerCertificateChain
357 certs_.reserve(other.certs_.size()); in operator =()
358 for (size_t i = 0; i < other.certs_.size(); ++i) in operator =()
359 certs_.push_back(CERT_DupCertificate(other.certs_[i])); in operator =()
365 for (size_t i = 0; i < certs_.size(); ++i) in Reset()
366 CERT_DestroyCertificate(certs_[i]); in Reset()
367 certs_.clear(); in Reset()
[all …]
/external/chromium_org/chrome/browser/chromeos/platform_keys/
Dplatform_keys_nss.cc210 scoped_ptr<net::CertificateList> certs_; member in chromeos::platform_keys::__anondefbf1470211::GetCertificatesState
426 for (net::CertificateList::const_iterator it = state->certs_->begin(); in FilterCertificatesOnWorkerThread()
427 it != state->certs_->end(); in FilterCertificatesOnWorkerThread()
450 state->certs_ = all_certs.Pass(); in DidGetCertificates()