diff options
author | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-13 22:06:38 +0000 |
---|---|---|
committer | agl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-13 22:06:38 +0000 |
commit | 1f52249f77b18e6209563b40f769a0372160dc93 (patch) | |
tree | de90de3359d29004335d1211a150a904762ef816 /net/base/ssl_info.h | |
parent | 3f57397de701062609522bcef79c6bb718f3bd9e (diff) | |
download | chromium_src-1f52249f77b18e6209563b40f769a0372160dc93.zip chromium_src-1f52249f77b18e6209563b40f769a0372160dc93.tar.gz chromium_src-1f52249f77b18e6209563b40f769a0372160dc93.tar.bz2 |
net: add issued_by_known_hash and public_key_hashes to SSLInfo.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/6839024
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81494 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/ssl_info.h')
-rw-r--r-- | net/base/ssl_info.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/net/base/ssl_info.h b/net/base/ssl_info.h index 1a85919..7b65a1b 100644 --- a/net/base/ssl_info.h +++ b/net/base/ssl_info.h @@ -6,7 +6,10 @@ #define NET_BASE_SSL_INFO_H_ #pragma once +#include <vector> + #include "base/memory/ref_counted.h" +#include "net/base/x509_cert_types.h" namespace net { @@ -45,6 +48,13 @@ class SSLInfo { // ssl_connection_status_flags.h for values. The protocol version, // ciphersuite, and compression in use are encoded within. int connection_status; + + // If the certificate is valid, then this is true iff it was rooted at a + // standard CA root. (As opposed to a user-installed root.) + bool is_issued_by_known_root; + + // The hashes of the SubjectPublicKeyInfos from each certificate in the chain. + std::vector<SHA1Fingerprint> public_key_hashes; }; } // namespace net |