Skip to main content

@atala/prism-wallet-sdk / Exports / DIDCommProtocol

Interface: DIDCommProtocol

Implemented by

Table of contents

Methods

Methods

packEncrypted

packEncrypted(message, to, from?): Promise<string>

Parameters

NameType
messageMessage
toDID
from?DID

Returns

Promise<string>

Defined in

src/mercury/DIDCommProtocol.ts:4


unpack

unpack(message): Promise<Message>

Parameters

NameType
messagestring

Returns

Promise<Message>

Defined in

src/mercury/DIDCommProtocol.ts:14