DIDCommMessageHandler class

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

A plugin for the MessageHandler that decrypts DIDComm messages.

Signature:
export declare class DIDCommMessageHandler extends AbstractMessageHandler
Extends: [AbstractMessageHandler](/docs/api/message-handler.abstractmessagehandler)

Constructors

ConstructorModifiersDescription
(constructor)()(BETA) Constructs a new instance of the DIDCommMessageHandler class

Methods

MethodModifiersDescription
handle(message, context)(BETA) 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). -