/external/chromium/net/base/ |
D | cert_status_flags.cc | 43 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()
|
D | x509_certificate_openssl_android.cc | 23 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()
|
D | ssl_info.cc | 13 : 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()
|
D | x509_certificate_win.cc | 98 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 …]
|
D | x509_certificate_mac.cc | 791 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 …]
|
D | x509_certificate_openssl.cc | 418 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()
|
D | x509_certificate_nss.cc | 770 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 …]
|
D | x509_certificate_unittest.cc | 234 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 …]
|
D | cert_verify_result.cc | 17 cert_status = 0; in Reset()
|
D | cert_verify_result.h | 25 int cert_status; variable
|
D | cert_status_flags.h | 47 int MapCertStatusToNetError(int cert_status);
|
D | ssl_info.h | 41 int cert_status; variable
|
D | ssl_config_service.h | 69 int cert_status; member
|
D | ssl_config_service.cc | 12 SSLConfig::CertAndStatus::CertAndStatus() : cert_status(0) {} in CertAndStatus()
|
/external/chromium/chrome/browser/ |
D | page_info_model.cc | 53 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()
|
D | load_from_memory_cache_details.cc | 11 int cert_status) in LoadFromMemoryCacheDetails() argument 15 cert_status_(cert_status) { in LoadFromMemoryCacheDetails()
|
D | load_from_memory_cache_details.h | 18 int cert_status);
|
/external/chromium/chrome/browser/ssl/ |
D | ssl_manager.cc | 60 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()
|
D | ssl_manager.h | 60 int cert_status, 65 int* cert_status,
|
D | ssl_policy.cc | 126 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()
|
D | ssl_error_info.h | 49 static int GetErrorsForCertStatus(int cert_status,
|
D | ssl_error_info.cc | 234 int cert_status, in GetErrorsForCertStatus() argument 263 if (cert_status & kErrorFlags[i]) { in GetErrorsForCertStatus()
|
/external/chromium/net/http/ |
D | http_response_info.cc | 146 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()
|
D | http_transaction_unittest.cc | 249 response_.ssl_info.cert_status = t->cert_status; in Start()
|
/external/chromium/chrome/browser/ui/toolbar/ |
D | toolbar_model.cc | 88 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()
|