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

Unified Diff: net/cert/ct_ev_whitelist.h

Issue 2937563002: Remove the EV Certs Whitelist (Closed)
Patch Set: Update comment Created 3 years, 6 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
« no previous file with comments | « net/BUILD.gn ('k') | net/cert/ct_policy_enforcer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/ct_ev_whitelist.h
diff --git a/net/cert/ct_ev_whitelist.h b/net/cert/ct_ev_whitelist.h
deleted file mode 100644
index f31b7a1d4fbd008cb4628b8576ba656fd3226e82..0000000000000000000000000000000000000000
--- a/net/cert/ct_ev_whitelist.h
+++ /dev/null
@@ -1,49 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef NET_CERT_CT_EV_WHITELIST_H_
-#define NET_CERT_CT_EV_WHITELIST_H_
-
-#include <string>
-
-#include "base/memory/ref_counted.h"
-#include "net/base/net_export.h"
-
-namespace base {
-
-class Version;
-
-} // namespace base
-
-namespace net {
-
-namespace ct {
-
-class NET_EXPORT EVCertsWhitelist
- : public base::RefCountedThreadSafe<EVCertsWhitelist> {
- public:
- // Returns true if the |certificate_hash| appears in the EV certificate hashes
- // whitelist.
- virtual bool ContainsCertificateHash(
- const std::string& certificate_hash) const = 0;
-
- // Returns true if the global EV certificate hashes whitelist is non-empty,
- // false otherwise.
- virtual bool IsValid() const = 0;
-
- // Returns the version of the whitelist in use
- virtual base::Version Version() const = 0;
-
- protected:
- virtual ~EVCertsWhitelist() {}
-
- private:
- friend class base::RefCountedThreadSafe<EVCertsWhitelist>;
-};
-
-} // namespace ct
-
-} // namespace net
-
-#endif // NET_CERT_CT_EV_WHITELIST_H_
« no previous file with comments | « net/BUILD.gn ('k') | net/cert/ct_policy_enforcer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698