aboutsummaryrefslogtreecommitdiff
path: root/file.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2017-04-26 11:53:23 +0200
committerDimitri Sokolyuk <demon@dim13.org>2017-04-26 11:53:23 +0200
commit65b0b02a4f8be3aad4ab73e730e5eee4cd590153 (patch)
tree5062fb8b6f50316c1968579052111a872778be3a /file.go
parent8f66dc007a12ebbdd31ecbdbf3f6f952c0c88586 (diff)
...
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