Skip to main content

DIDCommMessageHandler class

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.

A plugin for the MessageHandler that decrypts DIDComm messages. This API may change without a BREAKING CHANGE notice.

Signature:

export declare class DIDCommMessageHandler extends AbstractMessageHandler

Extends: 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). -