@atala/prism-wallet-sdk / Exports / DIDCommProtocol
Interface: DIDCommProtocol
Implemented by
Table of contents
Methods
Methods
packEncrypted
▸ packEncrypted(message
, to
, from?
): Promise
<string
>
Parameters
Name | Type |
---|---|
message | Message |
to | DID |
from? | DID |
Returns
Promise
<string
>
Defined in
src/mercury/DIDCommProtocol.ts:4
unpack
▸ unpack(message
): Promise
<Message
>
Parameters
Name | Type |
---|---|
message | string |
Returns
Promise
<Message
>