Index: net/base/cert_database.h |
diff --git a/net/base/cert_database.h b/net/base/cert_database.h |
index 6c9b008e9377641dbdb25e0b097d6de186fd087e..98010884cc82c4d132faa6750360ca34918f927c 100644 |
--- a/net/base/cert_database.h |
+++ b/net/base/cert_database.h |
@@ -156,6 +156,10 @@ class NET_API CertDatabase { |
// Get trust bits for certificate. |
unsigned int GetCertTrust(const X509Certificate* cert, CertType type) const; |
+ // IsUntrusted returns true if |cert| is specifically untrusted. These |
+ // certificates are remembered for the specific purpose of rejecting them. |
+ bool IsUntrusted(const X509Certificate* cert) const; |
+ |
// Set trust values for certificate. |
// Returns true on success or false on failure. |
bool SetCertTrust(const X509Certificate* cert, |