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

Unified Diff: net/base/net_log_event_type_list.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 | « no previous file | net/cert/ct_signed_certificate_timestamp_log_param.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/net_log_event_type_list.h
diff --git a/net/base/net_log_event_type_list.h b/net/base/net_log_event_type_list.h
index f31bccae3656a6b07a77054f779b16d8c7dd63b9..ca43b1bf12c2649e51cf2c2542d3ffa5c8ae831a 100644
--- a/net/base/net_log_event_type_list.h
+++ b/net/base/net_log_event_type_list.h
@@ -558,6 +558,38 @@ EVENT_TYPE(SOCKET_WRITE_ERROR)
// }
EVENT_TYPE(SSL_CERTIFICATES_RECEIVED)
+// Signed Certificate Timestamps were received from the server.
+// The following parameters are attached to the event:
+// {
+// "embedded_scts": Base64-encoded SignedCertificateTimestampList,
+// "scts_from_ocsp_response": Base64-encoded SignedCertificateTimestampList,
+// "scts_from_tls_extension": Base64-encoded SignedCertificateTimestampList,
+// }
+//
+// The SignedCertificateTimestampList is defined in RFC6962 and is exactly as
+// received from the server.
+EVENT_TYPE(SIGNED_CERTIFICATE_TIMESTAMPS_RECEIVED)
+
+// Signed Certificate Timestamps were checked.
+// The following parameters are attached to the event:
+// {
+// "verified_scts": <A list of SCTs>,
+// "invalid_scts": <A list of SCTs>,
+// "scts_from_unknown_logs": <A list of SCTs>,
+// }
+//
+// Where each SCT is an object:
+// {
+// "origin": <one of: "embedded_in_certificate", "tls_extension", "ocsp">,
+// "version": <numeric version>,
+// "log_id": <base64-encoded log id>,
+// "timestamp": <numeric timestamp in milliseconds since the Unix epoch>,
+// "hash_algorithm": <name of the hash algorithm>,
+// "signature_algorithm": <name of the signature algorithm>,
+// "signature_data": <base64-encoded signature bytes>,
+// }
+EVENT_TYPE(SIGNED_CERTIFICATE_TIMESTAMPS_CHECKED)
+
// ------------------------------------------------------------------------
// DatagramSocket
// ------------------------------------------------------------------------
« no previous file with comments | « no previous file | net/cert/ct_signed_certificate_timestamp_log_param.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698