1package identity
2
3type Key struct {
4 // The GPG fingerprint of the key
5 Fingerprint string `json:"fingerprint"`
6 PubKey string `json:"pub_key"`
7}
8
9func (k *Key) Validate() error {
10 // Todo
11
12 return nil
13}
14
15func (k *Key) Clone() *Key {
16 clone := *k
17 return &clone
18}