@atala/prism-wallet-sdk / Exports / AgentDIDHigherFunctions
Interface: AgentDIDHigherFunctions
Implemented by
Table of contents
Methods
Methods
createNewPeerDID
▸ createNewPeerDID(services
, updateMediator
): Promise
<DID
>
Parameters
Name | Type |
---|---|
services | Service [] |
updateMediator | boolean |
Returns
Promise
<DID
>
Defined in
src/edge-agent/types/index.ts:90
createNewPrismDID
▸ createNewPrismDID(alias
, services
, keyPathIndex?
, issuingKeys?
): Promise
<DID
>
Parameters
Name | Type |
---|---|
alias | string |
services | Service [] |
keyPathIndex? | number |
issuingKeys? | (PublicKey | KeyPair )[] |
Returns
Promise
<DID
>
Defined in
src/edge-agent/types/index.ts:95
signWith
▸ signWith(did
, message
): Promise
<Signature
>
Parameters
Name | Type |
---|---|
did | DID |
message | Uint8Array |
Returns
Promise
<Signature
>