Documentation ¶
Index ¶
- type IdentityConfigurationsIterator
- type 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
- type RecipientData
- type 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IdentityConfigurationsIterator ¶
func (*IdentityConfigurationsIterator) Next ¶
func (w *IdentityConfigurationsIterator) Next() (driver.IdentityConfiguration, error)
type IdentityDB ¶
type IdentityDB struct {
// contains filtered or unexported fields
}
func NewIdentityDB ¶
func NewIdentityDB(kvs KVS, tmsID token.TMSID) *IdentityDB
func (*IdentityDB) AddConfiguration ¶
func (s *IdentityDB) AddConfiguration(wp driver.IdentityConfiguration) error
func (*IdentityDB) ConfigurationExists ¶
func (s *IdentityDB) ConfigurationExists(id, typ string) (bool, error)
func (*IdentityDB) GetAuditInfo ¶
func (s *IdentityDB) GetAuditInfo(identity []byte) ([]byte, error)
func (*IdentityDB) GetSignerInfo ¶
func (s *IdentityDB) GetSignerInfo(identity []byte) ([]byte, error)
func (*IdentityDB) GetTokenInfo ¶
func (s *IdentityDB) GetTokenInfo(identity []byte) ([]byte, []byte, error)
func (*IdentityDB) IteratorConfigurations ¶
func (s *IdentityDB) IteratorConfigurations(configurationType string) (driver.Iterator[driver.IdentityConfiguration], error)
func (*IdentityDB) SignerInfoExists ¶
func (s *IdentityDB) SignerInfoExists(id []byte) (bool, error)
func (*IdentityDB) StoreIdentityData ¶
func (*IdentityDB) StoreSignerInfo ¶
func (s *IdentityDB) StoreSignerInfo(id, info []byte) error
type RecipientData ¶
type RecipientData struct { // AuditInfo contains private information Identity AuditInfo []byte // TokenMetadata contains public information related to the token to be assigned to this Recipient. TokenMetadata []byte // TokenMetadataAuditInfo contains private information TokenMetadata TokenMetadataAuditInfo []byte }
RecipientData contains information about the identity of a token owner
type WalletDB ¶
type WalletDB struct {
// contains filtered or unexported fields
}
func (*WalletDB) GetWalletID ¶
func (*WalletDB) GetWalletIDs ¶
func (*WalletDB) IdentityExists ¶
Click to show internal directories.
Click to hide internal directories.