Index: net/base/cert_database.h |
diff --git a/net/base/cert_database.h b/net/base/cert_database.h |
index 7f8c31cf7997c954ede82a148ed00ca3de682a20..4851a77f7a2bc3ba1c93c5f55f4b8f6398cf39a0 100644 |
--- a/net/base/cert_database.h |
+++ b/net/base/cert_database.h |
@@ -162,6 +162,11 @@ class NET_EXPORT CertDatabase { |
// Get trust bits for certificate. |
TrustBits GetCertTrust(const X509Certificate* cert, CertType type) const; |
+ // IsUntrusted returns true if |cert| is specifically untrusted. These |
+ // certificates are stored in the database 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, |