diff options
author | Rasmus Dahlberg <rasmus.dahlberg@kau.se> | 2020-11-03 12:14:51 +0100 |
---|---|---|
committer | Rasmus Dahlberg <rasmus.dahlberg@kau.se> | 2020-11-03 12:14:51 +0100 |
commit | 4bef11c59c3e28f0f587b710d56d98c0f26591ad (patch) | |
tree | feabd35c4f5d94df62117d0fb19df756a0f9011d /verify.go | |
parent | 6d3eb5bd4c9f5f3ec4cfdcf18e48ab86a6c247bf (diff) |
added get-sth client without signature verification
Diffstat (limited to 'verify.go')
-rw-r--r-- | verify.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -30,3 +30,7 @@ func (sdi *SignedDebugInfoV1) Verify(scheme tls.SignatureScheme, publicKey, mess return fmt.Errorf("Unsupported public key: %s", t) } } + +func (sth *SignedTreeHeadV1) Verify(scheme tls.SignatureScheme, publicKey []byte) error { + return fmt.Errorf("TODO: verify signature") +} |