Documentation
¶
Index ¶
- func NewFileStore(p string, pwd []byte, accCfg *vaultv1.AccountConfig) (wallet.Store, error)
- func NewIPFSStore(node common.IPFSNode, accCfg *vaultv1.AccountConfig) (wallet.Store, error)
- func NewMemoryStore(accCfg *vaultv1.AccountConfig) (wallet.Store, error)
- type FileStore
- type IPFSStore
- type MemoryStore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFileStore ¶
func NewIPFSStore ¶
func NewMemoryStore ¶
func NewMemoryStore(accCfg *vaultv1.AccountConfig) (wallet.Store, error)
Types ¶
type FileStore ¶
type FileStore struct {
// contains filtered or unexported fields
}
type IPFSStore ¶
type IPFSStore struct {
// contains filtered or unexported fields
}
func (*IPFSStore) JWKClaims ¶
JWKClaims returns the JWKClaims for the store to be signed by the identity
func (*IPFSStore) PutAccount ¶
type MemoryStore ¶
func (*MemoryStore) GetAccount ¶
func (ds *MemoryStore) GetAccount(name string) (wallet.Account, error)
func (*MemoryStore) JWKClaims ¶
func (ds *MemoryStore) JWKClaims(acc wallet.Account) (string, error)
JWKClaims returns the JWKClaims for the store to be signed by the identity
func (*MemoryStore) PutAccount ¶
func (ds *MemoryStore) PutAccount(sc wallet.Account, name string) error
func (*MemoryStore) VerifyJWKClaims ¶
func (ds *MemoryStore) VerifyJWKClaims(claims string, acc wallet.Account) error
VerifyJWKClaims verifies the JWKClaims for the store
Click to show internal directories.
Click to hide internal directories.