Skip to main content

DIDCommMessageHandler.handle() method

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Handles a new packed DIDCommV2 Message (also Alpha support but soon deprecated). - Tests whether raw message is a DIDCommV2 message - Unpacks raw message (JWM/JWE/JWS, or plain JSON). -

Signature:

handle(message: Message, context: IContext): Promise<Message>;

Parameters

ParameterTypeDescription
messageMessage
contextIContext

Returns:

Promise<Message>