Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified Diff: net/base/x509_certificate.h

Issue 7795014: Mark DigiNotar as untrusted (Closed) Base URL: svn://
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/base/x509_certificate.h
diff --git a/net/base/x509_certificate.h b/net/base/x509_certificate.h
index 4c8dd01a99e7cb5dd6da227f5fd51b7f1f13f176..abc66fa119c553e47d3600037f00600e16a3330f 100644
--- a/net/base/x509_certificate.h
+++ b/net/base/x509_certificate.h
@@ -428,6 +428,11 @@ class NET_EXPORT X509Certificate
// IsBlacklisted returns true if this certificate is explicitly blacklisted.
bool IsBlacklisted() const;
+ // IsPublicKeyBlacklisted returns true iff one of |public_key_hashes| (which
+ // are SHA1 hashes of a SubjectPublicKeyInfo structure) is explicitly blocked.
wtc 2011/08/30 00:02:44 Nit: a SubjectPublicKeyInfo structure => SubjectPu
agl 2011/08/30 00:13:48 Done.
+ static bool IsPublicKeyBlacklisted(
+ const std::vector<SHA1Fingerprint>& public_key_hashes);
// IsSHA1HashInSortedArray returns true iff |hash| is in |array|, a sorted
// array of SHA1 hashes.
static bool IsSHA1HashInSortedArray(const SHA1Fingerprint& hash,

Powered by Google App Engine
This is Rietveld 408576698