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

Unified Diff: net/test/ct_test_util.h

Issue 1845113003: Certificate Transparency: Start tracking logs' state (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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/net.gypi ('k') | net/test/ct_test_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/test/ct_test_util.h
diff --git a/net/test/ct_test_util.h b/net/test/ct_test_util.h
index d3df6e62d9baa1ec0174620739833549f7a35c92..6b200d604131ee9b8256110a7d583dc73b207c45 100644
--- a/net/test/ct_test_util.h
+++ b/net/test/ct_test_util.h
@@ -89,6 +89,13 @@ std::string GetSampleSTHTreeHeadSignature();
// The same signature as GetSampleSTHTreeHeadSignature, decoded.
bool GetSampleSTHTreeHeadDecodedSignature(DigitallySigned* signature);
+// TODO(robpercival): The following two functions use the initialism "STH" but
+// the rest of the functions use "SignedTreeHead".
+
+// A sample, valid STH in SignedTreeHeadDataV1 format.
+// See RFC 6962-bis for more information about this format.
+std::string GetSampleSTH();
+
// The sample STH in JSON form.
std::string GetSampleSTHAsJson();
« no previous file with comments | « net/net.gypi ('k') | net/test/ct_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698