aboutsummaryrefslogtreecommitdiff
path: root/type.go
Commit message (Collapse)AuthorAgeFilesLines
* refactor types and documentationRasmus Dahlberg2020-10-301-155/+197
| | | | | | 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.
* started refactoring add-entry code path according to docRasmus Dahlberg2020-10-301-5/+11
|
* updated json output according to api docRasmus Dahlberg2020-10-301-0/+8
|
* fixed tls length specifiersRasmus Dahlberg2020-10-291-12/+11
|
* refactored and added sth error-checkingRasmus Dahlberg2020-10-291-6/+21
|
* go fmtRasmus Dahlberg2020-10-281-24/+24
|
* added consistency-proof code pathRasmus Dahlberg2020-10-281-1/+36
|
* added signed tree head and get-sth code pathRasmus Dahlberg2020-10-281-1/+48
|
* added ed25519 signing and SDIsRasmus Dahlberg2020-10-271-0/+28
|
* decoupled log instance and infoRasmus Dahlberg2020-10-271-5/+5
| | | | | Makes things a bit more modular. As part of this process I also replaced ct/x509 with crypto/x509, which already suits our needs.
* added leaf appendixRasmus Dahlberg2020-10-271-0/+21
|
* refactored add-entry code pathRasmus Dahlberg2020-10-231-5/+5
|
* refactored type.goRasmus Dahlberg2020-10-231-146/+58
| | | | | 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.
* attached InclusionProofV1 onto StItemRasmus Dahlberg2020-10-221-8/+12
|
* indented using go fmtRasmus Dahlberg2020-10-221-8/+8
|
* Added start on get-proof-by-hash code pathRasmus Dahlberg2020-10-221-0/+65
| | | | | | If the provided tree size is (mostly) valid the Trillian back-end is asked to provide an inclusion proof, which is then placed in an InclusionProofV1 structure and returned as a JSON object.
* added start on get-entries code pathRasmus Dahlberg2020-10-221-1/+27
| | | | | If the provided range is (mostly) valid the corresponding log entries are fetched from the Trillian back-end and returned as a JSON object.
* added parameter parsing for get-entriesRasmus Dahlberg2020-10-221-0/+31
|
* added start on addEntry code pathRasmus Dahlberg2020-10-211-0/+23
| | | | | If the POSTed StItem can be parsed without errors it is handed over to the Trillian back-end.
* added StFormat, StItem, and basic ChecksumV1 examplesRasmus Dahlberg2020-10-211-1/+75
|
* added basic structureRasmus Dahlberg2020-10-201-0/+3
An STFE server instance that dials the Trillian gRPC back-end, and which listens on six different HTTP endpoints but without any actual processing.