aboutsummaryrefslogtreecommitdiff
path: root/verify.go
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus.dahlberg@kau.se>2020-11-03 12:14:51 +0100
committerRasmus Dahlberg <rasmus.dahlberg@kau.se>2020-11-03 12:14:51 +0100
commit4bef11c59c3e28f0f587b710d56d98c0f26591ad (patch)
treefeabd35c4f5d94df62117d0fb19df756a0f9011d /verify.go
parent6d3eb5bd4c9f5f3ec4cfdcf18e48ab86a6c247bf (diff)
added get-sth client without signature verification
Diffstat (limited to 'verify.go')
-rw-r--r--verify.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/verify.go b/verify.go
index fbcf6df..50bd923 100644
--- a/verify.go
+++ b/verify.go
@@ -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")
+}