Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DID ¶
type DID interface { DOC() DIDDoc NewDoc(ae service.Addr) DIDDoc KID() string // same as Did() TODO: get rid of another // Did is method specific function. Old methods like 'did:sov:' return plain // old did string. NOTE! If they need whole stuff they must use URI. // NOTE! New method versions can use this or URI the result is same. Did() string // this is alias for KID() TODO: remove when done with ssi.DID StartEndp(storageH managed.Wallet, connectionID string) Store(mgdWallet, mgdStorage managed.Wallet) SavePairwiseForDID(mStorage managed.Wallet, theirDID DID, pw PairwiseMeta) StoreResult() error AEndp() (ae service.Addr, err error) SetAEndp(ae service.Addr) Route() []string // this useful for new did methods as well RecipientKeys() []string // this useful for new did methods as well String() string // Implementation (key, peer,...) specific behaviour SignKey() any Packager() api.Packager // TODO: this is mainly for indy but could be merged with SignKey? VerKey() string Storage() managed.Wallet URI() string // real URI, currently used in did doc }
type Destination ¶
type Destination struct { }
type Doc ¶ added in v0.30.15
type Doc interface { json.Marshaler json.Unmarshaler NeededOhterFunctions() }
Doc is DIDDoc interface used as a field in DIDComm messages and by its own.
type PairwiseMeta ¶ added in v0.30.9
Click to show internal directories.
Click to hide internal directories.