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

Unified Diff: net/cert/ct_verifier.h

Issue 422063004: Certificate Transparency: Require SCTs for EV certificates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: datatype issues addressed. Created 6 years, 2 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/cert/ct_verifier.h
diff --git a/net/cert/ct_verifier.h b/net/cert/ct_verifier.h
index 290a0474a649138733c902fdc5a8e47b6210f12d..5adc94514fe00ba295f5889b0a5f3eb8179a8faf 100644
--- a/net/cert/ct_verifier.h
+++ b/net/cert/ct_verifier.h
@@ -5,6 +5,9 @@
#ifndef NET_CERT_CT_VERIFIER_H_
#define NET_CERT_CT_VERIFIER_H_
+#include <stdint.h>
+#include <string>
+
#include "net/base/net_export.h"
namespace net {
@@ -36,6 +39,10 @@ class NET_EXPORT CTVerifier {
const std::string& sct_list_from_tls_extension,
ct::CTVerifyResult* result,
const BoundNetLog& net_log) = 0;
+
+ // Returns the number of known CT logs. Needed for CT/EV policy
+ // enforcement. May go away when more than 3 logs are available.
+ virtual uint32_t GetNumKnownLogs() = 0;
Ryan Sleevi 2014/10/22 19:48:36 size_t That said, this is a layering violation th
Eran Messeri 2014/10/24 12:12:36 Removed this method entirely.
};
} // namespace net

Powered by Google App Engine
This is Rietveld 408576698