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

Unified Diff: net/cert/ct_signed_certificate_timestamp_log_param.h

Issue 86503002: Certificate Transparency: Logging SCTs to the NetLog. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Forgot one file. 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/base/net_log_event_type_list.h ('k') | net/cert/ct_signed_certificate_timestamp_log_param.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/cert/ct_signed_certificate_timestamp_log_param.h
diff --git a/net/cert/ct_signed_certificate_timestamp_log_param.h b/net/cert/ct_signed_certificate_timestamp_log_param.h
new file mode 100644
index 0000000000000000000000000000000000000000..dde120dcc46d7dcfe88054fec518395c2e8a9085
--- /dev/null
+++ b/net/cert/ct_signed_certificate_timestamp_log_param.h
@@ -0,0 +1,35 @@
+// Copyright 2013 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_SIGNED_CERTIFICATE_TIMESTAMP_LOG_PARAM_H_
+#define NET_CERT_CT_SIGNED_CERTIFICATE_TIMESTAMP_LOG_PARAM_H_
+
+#include "net/base/net_log.h"
+
+namespace net {
+
+namespace ct {
+struct CTVerifyResult;
+}
+
+// Creates a dictionary of processed Signed Certificate Timestamps to be
+// logged in the NetLog.
+// See the documentation for SIGNED_CERTIFICATE_TIMESTAMPS_CHECKED
+// in net/base/net_log_event_type_list.h
+base::Value* NetLogSignedCertificateTimestampCallback(
+ const ct::CTVerifyResult* ct_result, NetLog::LogLevel log_level);
+
+// Creates a dictionary of raw Signed Certificate Timestamps to be logged
+// in the NetLog.
+// See the documentation for SIGNED_CERTIFICATE_TIMESTAMPS_RECEIVED
+// in net/base/net_log_event_type_list.h
+base::Value* NetLogRawSignedCertificateTimestampCallback(
+ const std::string* embedded_scts,
+ const std::string* sct_list_from_ocsp,
+ const std::string* sct_list_from_tls_extension,
+ NetLog::LogLevel log_level);
+
+} // namespace net
+
+#endif // NET_CERT_CT_SIGNED_CERTIFICATE_TIMESTAMP_LOG_PARAM_H_
« no previous file with comments | « net/base/net_log_event_type_list.h ('k') | net/cert/ct_signed_certificate_timestamp_log_param.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698