Name Description Size Coverage
BTSerializationTest.cpp 5384 -
BTSignedTreeHeadTest.cpp 11388 -
BTVerificationTest.cpp 11102 -
createSTHTestData.py This utility is used by the build system to create test inputs for the signed tree head decoding and verification implementation. The format is generally lines of <key>:<value> pairs except for the to-be-signed section, which consists of one or more lines of hex bytes. Comments may appear at the end of lines and begin with '//'. The following keys are valid: signingKey: A pykey key identifier to use to sign the to-be-signed data. Required. spki: A pykey key identifier to create an encoded SubjectPublicKeyInfo to be included with the test data. The tests will use this spki to validate the signature. Required. prefix: Hex bytes to include at the beginning of the signed tree head data. This data is not covered by the signature (typically this is used for the log_id field). Optional. Defaults to the empty string. hash: The name of a hash algorithm to use when signing. Optional. Defaults to 'sha256'. 4835 -
CTLogVerifierTest.cpp 3785 -
CTObjectsExtractorTest.cpp 2745 -
CTPolicyEnforcerTest.cpp 14320 -
CTSerializationTest.cpp 11096 -
CTTestUtils.cpp 37402 -
CTTestUtils.h 5325 -
ec-signer-rsa-spki-sth.inc.tbs 293 -
missing-extensions-sth.inc.tbs 255 -
missing-log-id-sth.inc.tbs 258 -
missing-root-hash-sth.inc.tbs 190 -
missing-timestamp-sth.inc.tbs 213 -
missing-tree-size-sth.inc.tbs 242 -
moz.build 1670 -
MultiLogCTVerifierTest.cpp 9925 -
rsa-signer-ec-spki-sth.inc.tbs 293 -
rsa-signer-rsa-spki-sth.inc.tbs 291 -
signature-covers-log-id-sth.inc.tbs 338 -
truncated-extension-sth.inc.tbs 349 -
truncated-log-id-sth.inc.tbs 273 -
truncated-root-hash-sth.inc.tbs 236 -
truncated-timestamp-sth.inc.tbs 226 -
truncated-tree-size-sth.inc.tbs 250 -
valid-secp521r1-sha512-sth.inc.tbs 342 -
valid-sth.inc.tbs 255 -
valid-with-extension-sth.inc.tbs 358 -
wrong-signing-key-sth.inc.tbs 255 -
wrong-spki-sth.inc.tbs 255 -