Versions in this module Expand all Collapse all v0 v0.4.0 Jan 7, 2025 Changes in this version + type IdentityConfigurationsIterator struct + func (w *IdentityConfigurationsIterator) Next() (driver.IdentityConfiguration, error) + type IdentityDB struct + func NewIdentityDB(kvs KVS, tmsID token.TMSID) *IdentityDB + func (s *IdentityDB) AddConfiguration(wp driver.IdentityConfiguration) error + func (s *IdentityDB) ConfigurationExists(id, typ string) (bool, error) + func (s *IdentityDB) GetAuditInfo(identity []byte) ([]byte, error) + func (s *IdentityDB) GetSignerInfo(identity []byte) ([]byte, error) + func (s *IdentityDB) GetTokenInfo(identity []byte) ([]byte, []byte, error) + func (s *IdentityDB) IteratorConfigurations(configurationType string) (driver.Iterator[driver.IdentityConfiguration], error) + func (s *IdentityDB) SignerInfoExists(id []byte) (bool, error) + func (s *IdentityDB) StoreIdentityData(id []byte, identityAudit []byte, tokenMetadata []byte, ...) error + func (s *IdentityDB) StoreSignerInfo(id, info []byte) error + type KVS interface + Exists func(id string) bool + Get func(id string, state interface{}) error + GetByPartialCompositeID func(prefix string, attrs []string) (kvs.Iterator, error) + Put func(id string, state interface{}) error + type RecipientData struct + AuditInfo []byte + TokenMetadata []byte + TokenMetadataAuditInfo []byte + type WalletDB struct + func NewWalletDB(kvs KVS, tmsID token.TMSID) *WalletDB + func (s *WalletDB) GetWalletID(identity driver2.Identity, roleID int) (driver.WalletID, error) + func (s *WalletDB) GetWalletIDs(roleID int) ([]driver.WalletID, error) + func (s *WalletDB) IdentityExists(identity driver2.Identity, wID driver.WalletID, roleID int) bool + func (s *WalletDB) LoadMeta(identity driver2.Identity, wID driver.WalletID, roleID int) ([]byte, error) + func (s *WalletDB) StoreIdentity(identity driver2.Identity, eID string, wID driver.WalletID, roleID int, ...) error