Chromium Code Reviews| Index: net/base/cert_database.h |
| diff --git a/net/base/cert_database.h b/net/base/cert_database.h |
| index 0c94c93423f94922683fa242e7c713d7c73fc71b..4cd7903d091d6d8c061bd47a9d3ca700255a087b 100644 |
| --- a/net/base/cert_database.h |
| +++ b/net/base/cert_database.h |
| @@ -159,6 +159,10 @@ class NET_EXPORT 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. |
|
wtc
2011/09/21 17:05:33
Nit: remembered => stored in the database ?
agl
2011/09/21 17:53:53
Done.
|
| + bool IsUntrusted(const X509Certificate* cert) const; |
| + |
| // Set trust values for certificate. |
| // Returns true on success or false on failure. |
| bool SetCertTrust(const X509Certificate* cert, |