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

Unified Diff: net/ssl/ssl_info.h

Issue 71633002: Convert SignedCertificateClass to be ref_counted, and add an SCTStore in which to store them. Add S… Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: few lint fixes Created 7 years, 1 month 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
« no previous file with comments | « net/socket/ssl_client_socket_nss.cc ('k') | net/ssl/ssl_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/ssl/ssl_info.h
diff --git a/net/ssl/ssl_info.h b/net/ssl/ssl_info.h
index 3f1dd2df4e1ed3265e8bab76c44fb37383ffc19d..b04ae4e0858387463656b274cb84f88217c13868 100644
--- a/net/ssl/ssl_info.h
+++ b/net/ssl/ssl_info.h
@@ -10,12 +10,19 @@
#include "base/memory/ref_counted.h"
#include "net/base/net_export.h"
#include "net/cert/cert_status_flags.h"
+#include "net/cert/sct_status_flags.h"
#include "net/cert/x509_cert_types.h"
namespace net {
+namespace ct {
+class SignedCertificateTimestamp;
+}
class X509Certificate;
+typedef std::vector<std::pair<scoped_refptr<ct::SignedCertificateTimestamp>,
+ net::SignedCertificateTimestampVerificationStatus> > SCTStatusList;
+
// SSL connection info.
// This is really a struct. All members are public.
class NET_EXPORT SSLInfo {
@@ -42,6 +49,7 @@ class NET_EXPORT SSLInfo {
// The SSL certificate.
scoped_refptr<X509Certificate> cert;
+ SCTStatusList scts;
// Bitmask of status info of |cert|, representing, for example, known errors
// and extended validation (EV) status.
« no previous file with comments | « net/socket/ssl_client_socket_nss.cc ('k') | net/ssl/ssl_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698