Name Description Size
BTSerializationTest.cpp 5384
BTSignedTreeHeadTest.cpp 11096
BTVerificationTest.cpp 10989
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'. 4869
CTDiversityPolicyTest.cpp 473
CTLogVerifierTest.cpp operator id 3480
CTObjectsExtractorTest.cpp operator id 2633
CTPolicyEnforcerTest.cpp 14742
CTSerializationTest.cpp 7625
CTTestUtils.cpp 34404
CTTestUtils.h 4987
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 1703
MultiLogCTVerifierTest.cpp disqualification time 8833
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