Message Handlers
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.
did-comm
did-jwt • DIDCommMessageHandler
DIDCommMessageHandler decrypts incoming messages using the private key of the recipient. The decrypted jwt is passed along to the JWT Message Handler.
did-jwt
JWTMessageHandler takes a JWT and creates a message object.
credential-w3c
credential-w3c • W3CMessageHandler
W3CMessageHandler checks the message payload for Verifiable Credentials and Verifiable Presentations and formats the message object accordingly.
selective-disclosure
selective-disclosure • SDRMessageHandler
SDRMessageHandler checks the message payload for Selective Disclosure Request formats the message object accordingly. Learm more about selective disclosure requests in the next section.