aboutsummaryrefslogtreecommitdiff
path: root/sig.go
diff options
context:
space:
mode:
Diffstat (limited to 'sig.go')
-rw-r--r--sig.go12
1 files changed, 0 insertions, 12 deletions
diff --git a/sig.go b/sig.go
deleted file mode 100644
index b81d03a..0000000
--- a/sig.go
+++ /dev/null
@@ -1,12 +0,0 @@
-package main
-
-import "golang.org/x/crypto/ed25519"
-
-type Sig struct {
- PKAlg [2]byte
- KeyNum [KeyNumLen]byte
- Sig [ed25519.SignatureSize]byte
-}
-
-func (v *Sig) Unmarshal(b []byte) error { return DecodeBase64(v, b) }
-func (v *Sig) Marshal() ([]byte, error) { return EncodeBase64(v) }