/external/chromium_org/net/cert/ |
D | cert_status_flags.cc | 12 bool IsCertStatusMinorError(CertStatus cert_status) { in IsCertStatusMinorError() argument 16 cert_status &= CERT_STATUS_ALL_ERRORS; in IsCertStatusMinorError() 17 return cert_status != 0 && (cert_status & ~kMinorErrors) == 0; in IsCertStatusMinorError() 57 int MapCertStatusToNetError(CertStatus cert_status) { in MapCertStatusToNetError() argument 62 if (cert_status & CERT_STATUS_REVOKED) in MapCertStatusToNetError() 64 if (cert_status & CERT_STATUS_INVALID) in MapCertStatusToNetError() 66 if (cert_status & CERT_STATUS_PINNED_KEY_MISSING) in MapCertStatusToNetError() 70 if (cert_status & CERT_STATUS_AUTHORITY_INVALID) in MapCertStatusToNetError() 72 if (cert_status & CERT_STATUS_COMMON_NAME_INVALID) in MapCertStatusToNetError() 76 if (cert_status & CERT_STATUS_NAME_CONSTRAINT_VIOLATION) in MapCertStatusToNetError() [all …]
|
D | cert_verify_proc_win.cc | 116 CertStatus cert_status = 0; in MapCertChainErrorStatusToCertStatus() local 123 cert_status |= CERT_STATUS_DATE_INVALID; in MapCertChainErrorStatusToCertStatus() 129 cert_status |= CERT_STATUS_AUTHORITY_INVALID; in MapCertChainErrorStatusToCertStatus() 133 cert_status |= CERT_STATUS_NO_REVOCATION_MECHANISM; in MapCertChainErrorStatusToCertStatus() 136 cert_status |= CERT_STATUS_UNABLE_TO_CHECK_REVOCATION; in MapCertChainErrorStatusToCertStatus() 139 cert_status |= CERT_STATUS_REVOKED; in MapCertChainErrorStatusToCertStatus() 145 cert_status |= CERT_STATUS_INVALID; in MapCertChainErrorStatusToCertStatus() 157 cert_status |= CERT_STATUS_WEAK_KEY; in MapCertChainErrorStatusToCertStatus() 159 cert_status |= CERT_STATUS_INVALID; in MapCertChainErrorStatusToCertStatus() 178 cert_status |= CERT_STATUS_INVALID; in MapCertChainErrorStatusToCertStatus() [all …]
|
D | cert_verify_proc_mac.cc | 567 verify_result->cert_status |= CERT_STATUS_REV_CHECKING_ENABLED; in VerifyInternal() 570 verify_result->cert_status |= CERT_STATUS_REVOKED; in VerifyInternal() 595 verify_result->cert_status |= CERT_STATUS_AUTHORITY_INVALID; in VerifyInternal() 606 verify_result->cert_status |= CertStatusFromOSStatus(cssm_result); in VerifyInternal() 614 verify_result->cert_status |= CERT_STATUS_DATE_INVALID; in VerifyInternal() 615 if (!IsCertStatusError(verify_result->cert_status) && in VerifyInternal() 645 verify_result->cert_status |= mapped_status; in VerifyInternal() 651 verify_result->cert_status |= CertStatusFromOSStatus(cssm_result); in VerifyInternal() 653 if (!IsCertStatusError(verify_result->cert_status)) { in VerifyInternal() 655 verify_result->cert_status |= CERT_STATUS_INVALID; in VerifyInternal() [all …]
|
D | cert_verify_proc_android.cc | 44 verify_result->cert_status |= CERT_STATUS_AUTHORITY_INVALID; in VerifyFromAndroidTrustManager() 48 verify_result->cert_status |= CERT_STATUS_DATE_INVALID; in VerifyFromAndroidTrustManager() 51 verify_result->cert_status |= CERT_STATUS_INVALID; in VerifyFromAndroidTrustManager() 54 verify_result->cert_status |= CERT_STATUS_INVALID; in VerifyFromAndroidTrustManager() 58 verify_result->cert_status |= CERT_STATUS_INVALID; in VerifyFromAndroidTrustManager() 134 verify_result->cert_status |= CERT_STATUS_COMMON_NAME_INVALID; in VerifyInternal() 144 if (IsCertStatusError(verify_result->cert_status)) in VerifyInternal() 145 return MapCertStatusToNetError(verify_result->cert_status); in VerifyInternal()
|
D | cert_verify_proc.cc | 198 verify_result->cert_status |= CERT_STATUS_REVOKED; in Verify() 222 verify_result->cert_status |= CERT_STATUS_REVOKED; in Verify() 223 rv = MapCertStatusToNetError(verify_result->cert_status); in Verify() 232 verify_result->cert_status |= CERT_STATUS_NAME_CONSTRAINT_VIOLATION; in Verify() 233 rv = MapCertStatusToNetError(verify_result->cert_status); in Verify() 241 verify_result->cert_status |= CERT_STATUS_WEAK_KEY; in Verify() 246 rv = MapCertStatusToNetError(verify_result->cert_status); in Verify() 251 verify_result->cert_status |= CERT_STATUS_INVALID; in Verify() 252 rv = MapCertStatusToNetError(verify_result->cert_status); in Verify() 257 verify_result->cert_status |= CERT_STATUS_WEAK_SIGNATURE_ALGORITHM; in Verify() [all …]
|
D | cert_verify_proc_openssl.cc | 197 verify_result->cert_status |= CERT_STATUS_COMMON_NAME_INVALID; in VerifyInternal() 223 CertStatus cert_status = MapCertErrorToCertStatus(x509_error); in VerifyInternal() local 228 << " : " << cert_status; in VerifyInternal() 229 verify_result->cert_status |= cert_status; in VerifyInternal() 234 if (IsCertStatusError(verify_result->cert_status)) in VerifyInternal() 235 return MapCertStatusToNetError(verify_result->cert_status); in VerifyInternal()
|
D | cert_verify_proc_unittest.cc | 191 EXPECT_TRUE(verify_result.cert_status & CERT_STATUS_IS_EV); in TEST_F() 226 EXPECT_TRUE(verify_result.cert_status & in TEST_F() 268 EXPECT_EQ(0u, verify_result.cert_status); in TEST_F() 307 EXPECT_TRUE(verify_result.cert_status & CERT_STATUS_IS_EV); in TEST_F() 406 verify_result.cert_status & CERT_STATUS_WEAK_KEY); in TEST_F() 408 verify_result.cert_status & CERT_STATUS_INVALID); in TEST_F() 411 EXPECT_EQ(0U, verify_result.cert_status & CERT_STATUS_WEAK_KEY); in TEST_F() 577 EXPECT_EQ(0U, verify_result.cert_status); in TEST_F() 613 verify_result.cert_status & CERT_STATUS_NAME_CONSTRAINT_VIOLATION); in TEST_F() 645 EXPECT_EQ(0U, verify_result.cert_status); in TEST_F() [all …]
|
D | test_root_certs_unittest.cc | 99 EXPECT_NE(0u, bad_verify_result.cert_status & CERT_STATUS_AUTHORITY_INVALID); in TEST() 116 EXPECT_EQ(0u, good_verify_result.cert_status); in TEST() 133 restored_verify_result.cert_status & CERT_STATUS_AUTHORITY_INVALID); in TEST() 135 EXPECT_EQ(bad_verify_result.cert_status, restored_verify_result.cert_status); in TEST()
|
D | cert_verify_proc_nss.cc | 768 verify_result->cert_status |= CERT_STATUS_COMMON_NAME_INVALID; in VerifyInternalImpl() 775 verify_result->cert_status |= CERT_STATUS_DATE_INVALID; in VerifyInternalImpl() 800 verify_result->cert_status |= CERT_STATUS_REV_CHECKING_ENABLED; in VerifyInternalImpl() 825 verify_result->cert_status |= CERT_STATUS_REV_CHECKING_ENABLED; in VerifyInternalImpl() 873 (verify_result->cert_status & CERT_STATUS_DATE_INVALID)) in VerifyInternalImpl() 875 CertStatus cert_status = MapCertErrorToCertStatus(err); in VerifyInternalImpl() local 876 if (cert_status) { in VerifyInternalImpl() 877 verify_result->cert_status |= cert_status; in VerifyInternalImpl() 878 return MapCertStatusToNetError(verify_result->cert_status); in VerifyInternalImpl() 884 if (IsCertStatusError(verify_result->cert_status)) in VerifyInternalImpl() [all …]
|
D | cert_status_flags.h | 35 NET_EXPORT bool IsCertStatusMinorError(CertStatus cert_status); 43 NET_EXPORT int MapCertStatusToNetError(CertStatus cert_status);
|
D | nss_cert_database_unittest.cc | 587 EXPECT_EQ(0U, verify_result.cert_status); in TEST_F() 618 EXPECT_EQ(CERT_STATUS_AUTHORITY_INVALID, verify_result.cert_status); in TEST_F() 650 EXPECT_EQ(0U, verify_result.cert_status); in TEST_F() 686 EXPECT_EQ(0U, verify_result.cert_status); in TEST_F() 728 EXPECT_EQ(CERT_STATUS_REVOKED, verify_result.cert_status); in TEST_F() 776 EXPECT_EQ(0U, verify_result.cert_status); in TEST_F() 807 EXPECT_EQ(CERT_STATUS_REVOKED, verify_result2.cert_status); in TEST_F() 852 EXPECT_EQ(0U, verify_result.cert_status); in TEST_F() 867 EXPECT_EQ(CERT_STATUS_AUTHORITY_INVALID, verify_result2.cert_status); in TEST_F() 922 EXPECT_EQ(0U, verify_result.cert_status); in TEST_F() [all …]
|
/external/chromium_org/net/ssl/ |
D | ssl_config.cc | 28 SSLConfig::CertAndStatus::CertAndStatus() : cert_status(0) {} in CertAndStatus() 50 CertStatus* cert_status) const { in IsAllowedBadCert() 54 return IsAllowedBadCert(der_cert, cert_status); in IsAllowedBadCert() 58 CertStatus* cert_status) const { in IsAllowedBadCert() 61 if (cert_status) in IsAllowedBadCert() 62 *cert_status = allowed_bad_certs[i].cert_status; in IsAllowedBadCert()
|
D | ssl_info.cc | 27 cert_status = info.cert_status; in operator =() 43 cert_status = 0; in Reset() 56 cert_status |= MapNetErrorToCertStatus(error); in SetCertError()
|
D | ssl_config.h | 45 bool IsAllowedBadCert(X509Certificate* cert, CertStatus* cert_status) const; 50 CertStatus* cert_status) const; 118 CertStatus cert_status; member
|
/external/chromium_org/content/common/ |
D | ssl_status_serialization.cc | 14 net::CertStatus cert_status, in SerializeSecurityInfo() argument 21 pickle.WriteUInt32(cert_status); in SerializeSecurityInfo() 37 net::CertStatus* cert_status, in DeserializeSecurityInfo() argument 41 DCHECK(cert_id && cert_status && security_bits && ssl_connection_status && in DeserializeSecurityInfo() 47 *cert_status = 0; in DeserializeSecurityInfo() 57 pickle.ReadUInt32(&iter, cert_status) && in DeserializeSecurityInfo()
|
D | ssl_status_serialization.h | 19 net::CertStatus cert_status, 28 net::CertStatus* cert_status,
|
/external/chromium_org/content/public/browser/ |
D | load_from_memory_cache_details.cc | 13 net::CertStatus cert_status, in LoadFromMemoryCacheDetails() argument 20 cert_status(cert_status), in LoadFromMemoryCacheDetails()
|
D | load_from_memory_cache_details.h | 20 net::CertStatus cert_status, 29 net::CertStatus cert_status; member
|
/external/chromium_org/content/public/common/ |
D | ssl_status.h | 38 cert_status == status.cert_status && in Equals() 47 net::CertStatus cert_status; member
|
/external/chromium_org/content/browser/ssl/ |
D | ssl_manager.cc | 61 << net::MapCertStatusToNetError(ssl_info.cert_status) << " id: " in OnSSLCertificateError() 65 << " cert_status: " << std::hex << ssl_info.cert_status; in OnSSLCertificateError() 140 entry->GetSSL().cert_status = ssl_cert_status; in DidCommitProvisionalLoad() 177 details.cert_status)); in DidLoadFromMemoryCache()
|
D | ssl_cert_error_handler.cc | 26 cert_error_(net::MapCertStatusToNetError(ssl_info.cert_status)), in SSLCertErrorHandler() 38 if (net::IsCertStatusMinorError(ssl_info().cert_status)) { in OnDispatchFailed()
|
/external/chromium_org/net/quic/crypto/ |
D | proof_verifier_chromium.cc | 134 verify_details_->cert_verify_result.cert_status = CERT_STATUS_INVALID; in VerifyProof() 148 verify_details_->cert_verify_result.cert_status = CERT_STATUS_INVALID; in VerifyProof() 158 verify_details_->cert_verify_result.cert_status = CERT_STATUS_INVALID; in VerifyProof() 263 const CertStatus cert_status = cert_verify_result.cert_status; in DoVerifyCertComplete() local 266 (IsCertificateError(result) && IsCertStatusMinorError(cert_status))) && in DoVerifyCertComplete()
|
/external/chromium_org/net/tools/testserver/ |
D | minica.py | 257 cert_status = None 259 cert_status = asn1.Explicit(1, asn1.GeneralizedTime("20100101060000Z")) 261 cert_status = asn1.Raw(asn1.TagAndLength(0x80 | 2, 0)) 263 cert_status = asn1.Raw(asn1.TagAndLength(0x80 | 0, 0)) 281 cert_status,
|
/external/chromium_org/net/http/ |
D | http_response_info.cc | 197 CertStatus cert_status; in InitFromPickle() local 198 if (!pickle.ReadUInt32(&iter, &cert_status)) in InitFromPickle() 200 ssl_info.cert_status = cert_status; in InitFromPickle() 335 pickle->WriteUInt32(ssl_info.cert_status); in Persist()
|
/external/chromium_org/chrome/browser/ui/website_settings/ |
D | website_settings.cc | 325 (!net::IsCertStatusError(ssl.cert_status) || in Init() 326 net::IsCertStatusMinorError(ssl.cert_status))) { in Init() 339 } else if (net::IsCertStatusMinorError(ssl.cert_status)) { in Init() 353 if (ssl.cert_status & net::CERT_STATUS_UNABLE_TO_CHECK_REVOCATION) { in Init() 356 } else if (ssl.cert_status & net::CERT_STATUS_NO_REVOCATION_MECHANISM) { in Init() 362 } else if (ssl.cert_status & net::CERT_STATUS_IS_EV) { in Init() 418 SSLErrorInfo::GetErrorsForCertStatus(ssl.cert_id, ssl.cert_status, in Init() 425 if (ssl.cert_status & net::CERT_STATUS_NON_UNIQUE_NAME) { in Init()
|