Index: net/base/x509_certificate.h |
=================================================================== |
--- net/base/x509_certificate.h (revision 124959) |
+++ net/base/x509_certificate.h (working copy) |
@@ -242,6 +242,10 @@ |
return ca_fingerprint_; |
} |
+ // Parses |cert|'s Subject Public Key Info structure, hashes it, and |
+ // returns the hash. |
+ const SHA1Fingerprint GetPublicKeyHash() const; |
+ |
// Gets the DNS names in the certificate. Pursuant to RFC 2818, Section 3.1 |
// Server Identity, if the certificate has a subjectAltName extension of |
// type dNSName, this method gets the DNS names in that extension. |