aboutsummaryrefslogtreecommitdiff
path: root/type_test.go
Commit message (Collapse)AuthorAgeFilesLines
* major refactor based on README.md and TODOsRasmus Dahlberg2021-02-251-330/+0
| | | | | | Updated types, improved units tests, isolated most test data to have it in one place, renamed and created new files to improve readability, and fixed a bunch of minor TODOs.
* added basic server-side cosigning (work in progress)Rasmus Dahlberg2021-02-171-2/+14
|
* started replacing x509 with namespaceRasmus Dahlberg2021-01-271-119/+12
|
* made a few tests more robust and found errorRasmus Dahlberg2020-11-301-2/+2
|
* migrated over to x509util/testdataRasmus Dahlberg2020-11-301-3/+3
|
* rephrased TODO as a noteRasmus Dahlberg2020-11-251-2/+2
|
* added start on isolated trillian checksRasmus Dahlberg2020-11-231-3/+3
|
* added tree head marshal testsRasmus Dahlberg2020-11-171-58/+97
|
* added unmarshal testsRasmus Dahlberg2020-11-171-0/+57
|
* used (un)marshalB64 in testsRasmus Dahlberg2020-11-171-2/+2
| | | | The base64 wrappers use (un)marshal internally.
* added type testsRasmus Dahlberg2020-11-171-27/+315
| | | | | | | | | | As a result these changes were made: - Simplified a few New* functions - Allowed empty inclusion and consistency proofs, which is in contrast to not being able to marshal them due to `tls:"minlen:1"`. For example, an inclusion proof will be empty for a Merkle tree of size 1. - Disallowed empty signatures and chains in a leaf's Appendix - Removed unnecessary examples
* refactor types and documentationRasmus Dahlberg2020-10-301-10/+4
| | | | | | Structured files a bit better, added more documentation, switched to pointers as default (unless specifically motivated not to do so), and encapsulated TLS (un)marshaling for the respective types that use it.
* refactored type.goRasmus Dahlberg2020-10-231-14/+5
| | | | | Moved structures for in/out HTTP data into reqres.go and added basic doc comments. A few minor edits as well to make things consistent.
* added StFormat, StItem, and basic ChecksumV1 examplesRasmus Dahlberg2020-10-211-0/+56