HomeSort by relevance Sort by last modified time
    Searched refs:dns_names (Results 1 - 8 of 8) sorted by null

  /external/chromium/chrome/browser/ssl/
ssl_error_info.cc 44 std::vector<std::string> dns_names; local
45 cert->GetDNSNames(&dns_names);
46 DCHECK(!dns_names.empty());
48 for (; i < dns_names.size(); ++i) {
49 if (dns_names[i] == cert->subject().common_name)
52 if (i == dns_names.size())
57 UTF8ToUTF16(dns_names[i]),
  /external/chromium/net/base/
x509_certificate_openssl.cc 98 std::vector<std::string>* dns_names) {
116 dns_names->push_back(
397 void X509Certificate::GetDNSNames(std::vector<std::string>* dns_names) const {
398 dns_names->clear();
400 ParseSubjectAltNames(cert_handle_, dns_names);
402 if (dns_names->empty())
403 dns_names->push_back(subject_.common_name);
x509_certificate_unittest.cc 223 std::vector<std::string> dns_names; local
224 google_cert->GetDNSNames(&dns_names);
225 ASSERT_EQ(1U, dns_names.size());
226 EXPECT_EQ("www.google.com", dns_names[0]);
289 std::vector<std::string> dns_names; local
290 webkit_cert->GetDNSNames(&dns_names);
291 ASSERT_EQ(2U, dns_names.size());
292 EXPECT_EQ("*.webkit.org", dns_names[0]);
293 EXPECT_EQ("webkit.org", dns_names[1]);
352 std::vector<std::string> dns_names; local
    [all...]
x509_certificate_mac.cc 109 std::vector<std::string>* dns_names) {
124 for (std::vector<std::string>::const_iterator name = dns_names->begin();
125 name != dns_names->end() && !override_hostname_mismatch; ++name)
776 void X509Certificate::GetDNSNames(std::vector<std::string>* dns_names) const {
777 dns_names->clear();
780 dns_names);
782 if (dns_names->empty())
783 dns_names->push_back(subject_.common_name);
    [all...]
x509_certificate_nss.cc 754 void X509Certificate::GetDNSNames(std::vector<std::string>* dns_names) const {
755 dns_names->clear();
758 GetCertSubjectAltNamesOfType(cert_handle_, certDNSName, dns_names);
760 if (dns_names->empty())
761 dns_names->push_back(subject_.common_name);
    [all...]
x509_certificate_win.cc 615 void X509Certificate::GetDNSNames(std::vector<std::string>* dns_names) const {
616 dns_names->clear();
627 dns_names->push_back(
632 if (dns_names->empty())
633 dns_names->push_back(subject_.common_name);
    [all...]
x509_certificate.h 226 void GetDNSNames(std::vector<std::string>* dns_names) const;
x509_certificate.cc 528 std::vector<std::string> dns_names; local
529 GetDNSNames(&dns_names);
530 return VerifyHostname(hostname, dns_names);
    [all...]

Completed in 93 milliseconds