| 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..649b87c0824dcff28d707bbcd5555f06940caa98 100644
|
| --- a/net/test/ct_test_util.h
|
| +++ b/net/test/ct_test_util.h
|
| @@ -21,6 +21,7 @@ namespace ct {
|
| struct CTVerifyResult;
|
| struct DigitallySigned;
|
| struct LogEntry;
|
| +struct MerkleTreeLeaf;
|
| struct SignedTreeHead;
|
|
|
| // Note: unless specified otherwise, all test data is taken from Certificate
|
| @@ -29,6 +30,9 @@ struct SignedTreeHead;
|
| // Fills |entry| with test data for an X.509 entry.
|
| void GetX509CertLogEntry(LogEntry* entry);
|
|
|
| +// Fills |tree_leaf| with test data for an X.509 Merkle tree leaf.
|
| +void GetX509CertTreeLeaf(MerkleTreeLeaf* tree_leaf);
|
| +
|
| // Returns a DER-encoded X509 cert. The SCT provided by
|
| // GetX509CertSCT is signed over this certificate.
|
| std::string GetDerEncodedX509Cert();
|
| @@ -36,6 +40,9 @@ std::string GetDerEncodedX509Cert();
|
| // Fills |entry| with test data for a Precertificate entry.
|
| void GetPrecertLogEntry(LogEntry* entry);
|
|
|
| +// Fills |tree_leaf| with test data for a Precertificate Merkle tree leaf.
|
| +void GetPrecertTreeLeaf(MerkleTreeLeaf* tree_leaf);
|
| +
|
| // Returns the binary representation of a test DigitallySigned
|
| std::string GetTestDigitallySigned();
|
|
|
|
|