Message handlers implement the AbstractMessageHandler interface and are instatiated as a chain by the Message Handler plugin. Veramo includes a number of message handlers for you to use in your apps.
Core Supported Message Handlers
The following plugins export a message handling method.
DIDCommMessageHandler decrypts incoming messages using the private key of the recipient. The decrypted jwt is passed along to the JWT Message Handler.
JWTMessageHandler takes a JWT and creates a message object.
W3CMessageHandler checks the message payload for Verifiable Credentials and Verifiable Presentations and formats the message object accordingly.
SDRMessageHandler checks the message payload for Selective Disclosure Request formats the message object accordingly. Learm more about selective disclosure requests in the next section.