method

package
v0.30.9 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(hStorage managed.Wallet, method Method) (id core.DID, err error)

func NewKey

func NewKey(hStorage managed.Wallet) (id core.DID, err error)

func NewKeyFromDID

func NewKeyFromDID(
	hStorage managed.Wallet,
	didStr string,
) (
	id core.DID,
	err error,
)

func String added in v0.30.8

func String(d string) string

Types

type Key

type Key struct {
	// contains filtered or unexported fields
}

func (Key) AEndp added in v0.30.9

func (k Key) AEndp() (ae service.Addr, err error)

func (Key) Did added in v0.30.9

func (k Key) Did() string

func (Key) KID

func (k Key) KID() string

func (Key) Packager added in v0.30.8

func (k Key) Packager() api.Packager

func (Key) Route added in v0.30.9

func (k Key) Route() []string

func (Key) SavePairwiseForDID added in v0.30.9

func (k Key) SavePairwiseForDID(mStorage managed.Wallet, theirDID core.DID, pw core.PairwiseMeta)

func (Key) SetAEndp added in v0.30.9

func (k Key) SetAEndp(ae service.Addr)

func (Key) SignKey

func (k Key) SignKey() any

func (Key) StartEndp added in v0.30.9

func (k Key) StartEndp(storageH managed.Wallet, connectionID string)

func (Key) Storage

func (k Key) Storage() managed.Wallet

func (Key) Store added in v0.30.9

func (k Key) Store(mgdWallet, mgdStorage managed.Wallet)

func (Key) StoreResult added in v0.30.9

func (k Key) StoreResult() error

func (Key) String

func (k Key) String() string

func (Key) VerKey added in v0.30.8

func (k Key) VerKey() string

TODO: this is mainly for indy but could be merged with SignKey?

type Method

type Method int
const (
	MethodKey Method = 0 + iota
)

Jump to

Keyboard shortcuts

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