Lines Matching refs:cert
14 net::SHA256HashValue getChainFingerprint256(const net::X509Certificate& cert) {
17 cert.os_cert_handle(), cert.GetIntermediateCertificates());
26 // For an allowance, we consider a given |cert| to be a match to a saved
27 // allowed cert if the |error| is an exact match to or subset of the errors
29 bool CertPolicy::Check(const net::X509Certificate& cert,
31 net::SHA256HashValue fingerprint = getChainFingerprint256(cert);
42 void CertPolicy::Allow(const net::X509Certificate& cert,
44 // If this same cert had already been saved with a different error status,
46 net::SHA256HashValue fingerprint = getChainFingerprint256(cert);
70 const net::X509Certificate& cert,
72 cert_policy_for_host_[host].Allow(cert, error);
81 const net::X509Certificate& cert,
84 return cert_policy_for_host_[host].Check(cert, error)