Index: net/test/ct_test_util.h |
diff --git a/net/test/ct_test_util.h b/net/test/ct_test_util.h |
index 79881ce3b273a887b0a63b41c38d0ebf32791dde..f12e144e4244e26a21912226fb459feb9d61a3f9 100644 |
--- a/net/test/ct_test_util.h |
+++ b/net/test/ct_test_util.h |
@@ -16,6 +16,9 @@ namespace ct { |
struct LogEntry; |
struct SignedCertificateTimestamp; |
+// Note: unless specified otherwise, all test data is taken from Certificate |
+// Transparency test data repository. |
+ |
// Fills |entry| with test data for an X.509 entry. |
void GetX509CertLogEntry(LogEntry* entry); |
@@ -28,6 +31,18 @@ std::string GetTestDigitallySigned(); |
// Returns the binary representation of a test serialized SCT. |
std::string GetTestSignedCertificateTimestamp(); |
+// Test log key |
+std::string GetTestPublicKey(); |
+ |
+// ID of test log key |
+std::string GetTestPublicKeyId(); |
+ |
+// SCT for the X509Certificate provided above. |
+void GetX509CertSCT(SignedCertificateTimestamp* sct); |
+ |
+// SCT for the Precertificate log entry provided above. |
+void GetPrecertSCT(SignedCertificateTimestamp* sct); |
+ |
} // namespace ct |
} // namespace net |