Index: net/cert/x509_certificate.h |
diff --git a/net/cert/x509_certificate.h b/net/cert/x509_certificate.h |
index 97906ed0461f02c4d8705e2e3db8109484f21f1b..008de71f13e31fb638ea452e83ed94aae139ea48 100644 |
--- a/net/cert/x509_certificate.h |
+++ b/net/cert/x509_certificate.h |
@@ -395,6 +395,10 @@ class NET_EXPORT X509Certificate |
// the same. |
static SHA1HashValue CalculateFingerprint(OSCertHandle cert_handle); |
+ // Calculates the SHA-256 fingerprint of the certificate. Returns an empty |
+ // (all zero) fingerprint on failure. |
+ static SHA256HashValue CalculateFingerprint256(OSCertHandle cert_handle); |
+ |
// Calculates the SHA-1 fingerprint of the intermediate CA certificates. |
// Returns an empty (all zero) fingerprint on failure. |
// |