DIDCommProtocol
@hyperledger/identus-sdk v7.0.0
@hyperledger/identus-sdk / overview / DIDCommProtocol
Interface: DIDCommProtocol
Defined in: src/mercury/DIDCommProtocol.ts:3
Methods
packEncrypted()
packEncrypted(
message:Message,to:DID,from?:DID):Promise<string>
Defined in: src/mercury/DIDCommProtocol.ts:4
Parameters
| Parameter | Type |
|---|---|
message | Message |
to | DID |
from? | DID |
Returns
Promise<string>
unpack()
unpack(
message:string):Promise<Message>
Defined in: src/mercury/DIDCommProtocol.ts:14
Parameters
| Parameter | Type |
|---|---|
message | string |
Returns
Promise<Message>