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

Unified Diff: net/test/ct_test_util.h

Issue 1576513002: Serialisation code for Certificate Transparency data (Closed) Base URL: ssh://caladan.lon.corp.google.com/usr/local/google/eranm/opensource_clients/chrome/src@sth_consistency_validation_2
Patch Set: Created 4 years, 11 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/test/ct_test_util.h
diff --git a/net/test/ct_test_util.h b/net/test/ct_test_util.h
index 5bb2d7ae73f8a2e2f76071b04e36922c18193b01..904a7ba8c4c92ece6f2e7fd37d876b3798d151f3 100644
--- a/net/test/ct_test_util.h
+++ b/net/test/ct_test_util.h
@@ -77,6 +77,13 @@ std::string GetSampleSTHTreeHeadSignature();
// The same signature as GetSampleSTHTreeHeadSignature, decoded.
void 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();
Eran Messeri 2016/01/14 12:46:45 Since it belongs to RFC6962-bis the function name
+
// The sample STH in JSON form.
std::string GetSampleSTHAsJson();

Powered by Google App Engine
This is Rietveld 408576698