managed

package
v0.31.56 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 8, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Identifier

type Identifier interface {
	UniqueID() string
}

type Wallet

type Wallet interface {
	Close()
	Handle() int
	Config() WalletCfg
	Storage() storage.AgentStorage
}

Wallet is a helper interface for managed wallets. You should always use this type instead of plain old indy SDK wallet handle. You present wallet configurations with ssi.Wallet and open them with ssi.Wallets.Open().

type WalletCfg

type WalletCfg interface {
	Identifier
	ID() string
	Key() string

	OpenWallet() (int, error)
	CloseWallet(handle int) error

	WantsBackup() bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL