summaryrefslogtreecommitdiffstats
path: root/vendor/go.mau.fi/libsignal/groups/state/store/SenderKeyStore.go
blob: a068df7cc774a4f46f3ea3a461a06f603c9c73fc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
package store

import (
	"go.mau.fi/libsignal/groups/state/record"
	"go.mau.fi/libsignal/protocol"
)

type SenderKey interface {
	StoreSenderKey(senderKeyName *protocol.SenderKeyName, keyRecord *record.SenderKey)
	LoadSenderKey(senderKeyName *protocol.SenderKeyName) *record.SenderKey
}