Home
last modified time | relevance | path

Searched refs:cert_status (Results 1 – 25 of 44) sorted by relevance

12

/external/chromium/net/base/
Dcert_status_flags.cc43 int MapCertStatusToNetError(int cert_status) { in MapCertStatusToNetError() argument
48 if (cert_status & CERT_STATUS_REVOKED) in MapCertStatusToNetError()
50 if (cert_status & CERT_STATUS_INVALID) in MapCertStatusToNetError()
54 if (cert_status & CERT_STATUS_AUTHORITY_INVALID) in MapCertStatusToNetError()
56 if (cert_status & CERT_STATUS_COMMON_NAME_INVALID) in MapCertStatusToNetError()
58 if (cert_status & CERT_STATUS_WEAK_SIGNATURE_ALGORITHM) in MapCertStatusToNetError()
60 if (cert_status & CERT_STATUS_DATE_INVALID) in MapCertStatusToNetError()
64 if (cert_status & CERT_STATUS_UNABLE_TO_CHECK_REVOCATION) in MapCertStatusToNetError()
66 if (cert_status & CERT_STATUS_NO_REVOCATION_MECHANISM) in MapCertStatusToNetError()
68 if (cert_status & CERT_STATUS_NOT_IN_DNS) in MapCertStatusToNetError()
Dx509_certificate_openssl_android.cc23 verify_result->cert_status |= ERR_CERT_INVALID; in Verify()
24 return MapCertStatusToNetError(verify_result->cert_status); in Verify()
42 verify_result->cert_status |= CERT_STATUS_AUTHORITY_INVALID; in Verify()
43 return MapCertStatusToNetError(verify_result->cert_status); in Verify()
53 verify_result->cert_status |= CERT_STATUS_COMMON_NAME_INVALID; in Verify()
56 verify_result->cert_status |= CERT_STATUS_AUTHORITY_INVALID; in Verify()
60 verify_result->cert_status |= ERR_CERT_INVALID; in Verify()
63 return MapCertStatusToNetError(verify_result->cert_status); in Verify()
Dssl_info.cc13 : cert_status(0), in SSLInfo()
21 cert_status(info.cert_status), in SSLInfo()
33 cert_status = info.cert_status; in operator =()
43 cert_status = 0; in Reset()
51 cert_status |= MapNetErrorToCertStatus(error); in SetCertError()
Dx509_certificate_win.cc98 int cert_status = 0; in MapCertChainErrorStatusToCertStatus() local
105 cert_status |= CERT_STATUS_DATE_INVALID; in MapCertChainErrorStatusToCertStatus()
111 cert_status |= CERT_STATUS_AUTHORITY_INVALID; in MapCertChainErrorStatusToCertStatus()
115 cert_status |= CERT_STATUS_NO_REVOCATION_MECHANISM; in MapCertChainErrorStatusToCertStatus()
118 cert_status |= CERT_STATUS_UNABLE_TO_CHECK_REVOCATION; in MapCertChainErrorStatusToCertStatus()
121 cert_status |= CERT_STATUS_REVOKED; in MapCertChainErrorStatusToCertStatus()
127 cert_status |= CERT_STATUS_INVALID; in MapCertChainErrorStatusToCertStatus()
146 cert_status |= CERT_STATUS_INVALID; in MapCertChainErrorStatusToCertStatus()
148 return cert_status; in MapCertChainErrorStatusToCertStatus()
674 verify_result->cert_status |= CERT_STATUS_REVOKED; in Verify()
[all …]
Dx509_certificate_mac.cc791 verify_result->cert_status |= CERT_STATUS_REVOKED; in Verify()
855 verify_result->cert_status |= CERT_STATUS_REV_CHECKING_ENABLED; in Verify()
909 verify_result->cert_status |= CERT_STATUS_AUTHORITY_INVALID; in Verify()
920 verify_result->cert_status |= CERT_STATUS_AUTHORITY_INVALID; in Verify()
924 verify_result->cert_status |= CERT_STATUS_DATE_INVALID; in Verify()
928 verify_result->cert_status |= CERT_STATUS_REVOKED; in Verify()
940 verify_result->cert_status |= CERT_STATUS_DATE_INVALID; in Verify()
945 int cert_status = CertStatusFromOSStatus( in Verify() local
947 if (cert_status == CERT_STATUS_COMMON_NAME_INVALID) { in Verify()
951 cert_status = 0; in Verify()
[all …]
Dx509_certificate_openssl.cc418 verify_result->cert_status |= CERT_STATUS_REVOKED; in Verify()
428 verify_result->cert_status |= CERT_STATUS_COMMON_NAME_INVALID; in Verify()
449 int cert_status = MapCertErrorToCertStatus(x509_error); in Verify() local
454 << " : " << cert_status; in Verify()
455 verify_result->cert_status |= cert_status; in Verify()
458 if (IsCertStatusError(verify_result->cert_status)) in Verify()
459 return MapCertStatusToNetError(verify_result->cert_status); in Verify()
481 verify_result->cert_status |= CERT_STATUS_AUTHORITY_INVALID; in Verify()
482 return MapCertStatusToNetError(verify_result->cert_status); in Verify()
Dx509_certificate_nss.cc770 verify_result->cert_status |= CERT_STATUS_REVOKED; in Verify()
777 verify_result->cert_status |= CERT_STATUS_COMMON_NAME_INVALID; in Verify()
783 verify_result->cert_status |= CERT_STATUS_DATE_INVALID; in Verify()
800 verify_result->cert_status |= CERT_STATUS_REV_CHECKING_ENABLED; in Verify()
813 (verify_result->cert_status & CERT_STATUS_DATE_INVALID) != 0) in Verify()
815 int cert_status = MapCertErrorToCertStatus(err); in Verify() local
816 if (cert_status) { in Verify()
817 verify_result->cert_status |= cert_status; in Verify()
818 return MapCertStatusToNetError(verify_result->cert_status); in Verify()
826 if (IsCertStatusError(verify_result->cert_status)) in Verify()
[all …]
Dx509_certificate_unittest.cc234 EXPECT_EQ(0, verify_result.cert_status & CERT_STATUS_IS_EV); in CheckGoogleCert()
300 EXPECT_EQ(0, verify_result.cert_status & CERT_STATUS_IS_EV); in TEST()
363 EXPECT_NE(0, verify_result.cert_status & CERT_STATUS_IS_EV); in TEST()
368 EXPECT_EQ(0, verify_result.cert_status & CERT_STATUS_IS_EV); in TEST()
400 EXPECT_NE(0, verify_result.cert_status & in TEST()
424 EXPECT_NE(0, verify_result.cert_status & CERT_STATUS_AUTHORITY_INVALID); in TEST()
485 EXPECT_EQ(0, verify_result.cert_status); in TEST()
514 EXPECT_EQ(0, verify_result.cert_status); in TEST()
570 EXPECT_EQ(0, verify_result.cert_status); in TEST()
600 EXPECT_NE(0, verify_result.cert_status & CERT_STATUS_INVALID); in TEST()
[all …]
Dcert_verify_result.cc17 cert_status = 0; in Reset()
Dcert_verify_result.h25 int cert_status; variable
Dcert_status_flags.h47 int MapCertStatusToNetError(int cert_status);
Dssl_info.h41 int cert_status; variable
Dssl_config_service.h69 int cert_status; member
Dssl_config_service.cc12 SSLConfig::CertAndStatus::CertAndStatus() : cert_status(0) {} in CertAndStatus()
/external/chromium/chrome/browser/
Dpage_info_model.cc53 int status_with_warnings_removed = ssl.cert_status() & ~cert_warnings; in PageInfoModel()
59 int cert_status = ssl.cert_status(); in PageInfoModel() local
60 if (cert_status & cert_warnings) { in PageInfoModel()
70 if (cert_status & net::CERT_STATUS_UNABLE_TO_CHECK_REVOCATION) { in PageInfoModel()
73 } else if (cert_status & net::CERT_STATUS_NO_REVOCATION_MECHANISM) { in PageInfoModel()
80 } else if ((ssl.cert_status() & net::CERT_STATUS_IS_EV) != 0) { in PageInfoModel()
110 } else if ((ssl.cert_status() & net::CERT_STATUS_IS_DNSSEC) != 0) { in PageInfoModel()
141 SSLErrorInfo::GetErrorsForCertStatus(ssl.cert_id(), ssl.cert_status(), in PageInfoModel()
148 if (ssl.cert_status() & net::CERT_STATUS_NON_UNIQUE_NAME) { in PageInfoModel()
Dload_from_memory_cache_details.cc11 int cert_status) in LoadFromMemoryCacheDetails() argument
15 cert_status_(cert_status) { in LoadFromMemoryCacheDetails()
Dload_from_memory_cache_details.h18 int cert_status);
/external/chromium/chrome/browser/ssl/
Dssl_manager.cc60 int cert_status, in SerializeSecurityInfo() argument
65 pickle.WriteInt(cert_status); in SerializeSecurityInfo()
74 int* cert_status, in DeserializeSecurityInfo() argument
77 DCHECK(cert_id && cert_status && security_bits && ssl_connection_status); in DeserializeSecurityInfo()
82 *cert_status = 0; in DeserializeSecurityInfo()
91 pickle.ReadInt(&iter, cert_status) && in DeserializeSecurityInfo()
176 return net::IsCertStatusError(entry->ssl().cert_status()); in ProcessedSSLErrorFromRequest()
Dssl_manager.h60 int cert_status,
65 int* cert_status,
Dssl_policy.cc126 if (!(entry->ssl().cert_status() & net::CERT_STATUS_COMMON_NAME_INVALID)) { in UpdateEntry()
130 entry->ssl().set_cert_status(entry->ssl().cert_status() | in UpdateEntry()
137 int cert_errors = entry->ssl().cert_status() & net::CERT_STATUS_ALL_ERRORS; in UpdateEntry()
Dssl_error_info.h49 static int GetErrorsForCertStatus(int cert_status,
Dssl_error_info.cc234 int cert_status, in GetErrorsForCertStatus() argument
263 if (cert_status & kErrorFlags[i]) { in GetErrorsForCertStatus()
/external/chromium/net/http/
Dhttp_response_info.cc146 int cert_status; in InitFromPickle() local
147 if (!pickle.ReadInt(&iter, &cert_status)) in InitFromPickle()
149 ssl_info.cert_status = cert_status; in InitFromPickle()
229 pickle->WriteInt(ssl_info.cert_status); in Persist()
Dhttp_transaction_unittest.cc249 response_.ssl_info.cert_status = t->cert_status; in Start()
/external/chromium/chrome/browser/ui/toolbar/
Dtoolbar_model.cc88 if (net::IsCertStatusError(ssl.cert_status())) { in GetSecurityLevel()
89 DCHECK_EQ(ssl.cert_status() & net::CERT_STATUS_ALL_ERRORS, in GetSecurityLevel()
93 if ((ssl.cert_status() & net::CERT_STATUS_IS_EV) && in GetSecurityLevel()

12