aboutsummaryrefslogtreecommitdiff
path: root/file.go
diff options
context:
space:
mode:
Diffstat (limited to 'file.go')
-rw-r--r--file.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/file.go b/file.go
index 5583263..93dbd6d 100644
--- a/file.go
+++ b/file.go
@@ -12,6 +12,22 @@ import (
"strings"
)
+type EncFile struct {
+ Comment string
+ Key *EncKey
+}
+
+type PubFile struct {
+ Comment string
+ Key *PubKey
+}
+
+type SigFile struct {
+ Comment string
+ Sig *Sig
+ Message string
+}
+
type File struct {
Comment string
RawKey []byte