diff options
Diffstat (limited to 'identity/interface.go')
-rw-r--r-- | identity/interface.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/identity/interface.go b/identity/interface.go index 92a03c51..528cb067 100644 --- a/identity/interface.go +++ b/identity/interface.go @@ -36,6 +36,9 @@ type Interface interface { // Can be empty. Keys() []*Key + // SigningKey return the key that should be used to sign new messages. If no key is available, return nil. + SigningKey() *Key + // ValidKeysAtTime return the set of keys valid at a given lamport time for a given clock of another entity // Can be empty. ValidKeysAtTime(clockName string, time lamport.Time) []*Key |