Versions in this module Expand all Collapse all v0 v0.2.1 Aug 5, 2021 Changes in this version type ID + func IDFromFeed(r refs.FeedRef) ID type KeyScheme + const SchemeFeedMessageSigningKey + const SchemeMetafeedSubkey type Store + func (mgr *Store) GetKeysForMessage(ks KeyScheme, msg refs.MessageRef) (Recipients, error) + func (mgr *Store) RmKey(ks KeyScheme, id ID, rmKey Recipient) error v0.2.0 Aug 5, 2021 v0.1.0 Feb 4, 2021 Changes in this version + func IsNoSuchKey(err error) bool + type Base64String Key + func (s *Base64String) UnmarshalJSON(data []byte) error + type Error struct + Cause error + Code ErrorCode + ID ID + Scheme KeyScheme + func (err Error) Error() string + type ErrorCode uint8 + const ErrorCodeInternal + const ErrorCodeInvalidKeyScheme + const ErrorCodeNoSuchKey + func (code ErrorCode) String() string + type ID []byte + type Info []byte + func (info Info) Len() int + type Infos []Info + func (is Infos) Encode(out []byte) int + func (is Infos) Len() int + type Key []byte + func (k Key) Derive(buf []byte, infos Infos, outLen int) (Key, error) + type KeyScheme string + const SchemeDiffieStyleConvertedED25519 + const SchemeLargeSymmetricGroup + func (ks KeyScheme) Valid() bool + type Keys []Key + type Metadata struct + ForFeed *refs.FeedRef + GroupRoot *refs.MessageRef + type Recipient struct + Key Key + Metadata Metadata + Scheme KeyScheme + type Recipients []Recipient + type Store struct + Index librarian.SetterIndex + func (mgr *Store) AddKey(id ID, r Recipient) error + func (mgr *Store) GetKeys(ks KeyScheme, id ID) (Recipients, error) + func (mgr *Store) RmKeys(ks KeyScheme, id ID) error + func (mgr *Store) SetKey(id ID, r Recipient) error