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

Unified Diff: net/base/ssl_info.h

Issue 10825211: Implement SHA-256 fingerprint support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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/ssl_info.h
===================================================================
--- net/base/ssl_info.h (revision 150362)
+++ net/base/ssl_info.h (working copy)
@@ -71,8 +71,11 @@
HandshakeType handshake_type;
- // The hashes of the SubjectPublicKeyInfos from each certificate in the chain.
- std::vector<SHA1Fingerprint> public_key_hashes;
+ // The hashes of the SubjectPublicKeyInfos from each certificate in the
+ // chain. This is a vector of vectors: Index the outer vector with
+ // FingerprintTag, and then the inner HashValueVectors will be
+ // fingerprints made with the algorithm named by the FingerprintTag.
+ std::vector<HashValueVector> public_key_hashes;
};
} // namespace net

Powered by Google App Engine
This is Rietveld 408576698