Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1580)

Unified Diff: net/cert/x509_certificate.h

Issue 2753123002: Add --ignore-certificate-errors-spki-list switch and UMA histogram. (Closed)
Patch Set: Created 3 years, 9 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/cert/x509_certificate.h
diff --git a/net/cert/x509_certificate.h b/net/cert/x509_certificate.h
index aa123fc334d095d904ec92d40fa2ea59f88f4e86..a3520dabb13c84447d41c706c9607534bb24075d 100644
--- a/net/cert/x509_certificate.h
+++ b/net/cert/x509_certificate.h
@@ -368,6 +368,8 @@ class NET_EXPORT X509Certificate
OSCertHandle leaf,
const OSCertHandles& intermediates);
+ static SHA256HashValue CalculatePublicKeyHashSHA256(OSCertHandle cert_handle);
Ryan Sleevi 2017/03/16 23:19:13 We've been trying to avoid adding new public stati
martinkr 2017/03/28 23:16:02 Done.
+
// Returns true if the certificate is self-signed.
static bool IsSelfSigned(OSCertHandle cert_handle);

Powered by Google App Engine
This is Rietveld 408576698