Index: net/base/x509_certificate.h |
diff --git a/net/base/x509_certificate.h b/net/base/x509_certificate.h |
index 4c8dd01a99e7cb5dd6da227f5fd51b7f1f13f176..3155b43af112680614d13cece1952983517c3348 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 SubjectPublicKeyInfo structures) is explicitly blocked. |
+ 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, |