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

Unified Diff: net/ssl/ssl_config_service.h

Issue 547603002: Certificate Transparency: Code for unpacking EV cert hashes whitelist (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adding missing EV initialization to all tests in url_request Created 6 years, 3 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/ssl/ssl_config_service.h
diff --git a/net/ssl/ssl_config_service.h b/net/ssl/ssl_config_service.h
index d6547223eab8ec6a33fce62d5e021ab65e39360f..bee5461ce3eea6f4dd1682e748a058b387450dbb 100644
--- a/net/ssl/ssl_config_service.h
+++ b/net/ssl/ssl_config_service.h
@@ -11,6 +11,7 @@
#include "base/observer_list.h"
#include "net/base/net_export.h"
#include "net/cert/crl_set.h"
+#include "net/cert/ct_ev_whitelist.h"
#include "net/ssl/ssl_config.h"
namespace net {
@@ -50,6 +51,11 @@ class NET_EXPORT SSLConfigService
static void SetCRLSet(scoped_refptr<CRLSet> crl_set);
static scoped_refptr<CRLSet> GetCRLSet();
+ // Sets and gets the current, global EV certificates whitelist
+ static void SetEVCertsWhitelist(
+ scoped_refptr<ct::EVCertsWhitelist> ev_whitelist);
+ static scoped_refptr<ct::EVCertsWhitelist> GetEVCertsWhitelist();
+
// Is SNI available in this configuration?
static bool IsSNIAvailable(SSLConfigService* service);

Powered by Google App Engine
This is Rietveld 408576698