15  DIDComm

15.1 Overview

DIDComm v2 (Decentralized Identifier Communication version 2) is a set of communication protocols designed to enable secure, private, and interoperable messaging between DIDs. These protocols have been adopted throughout Identus to standardize many important interactions, like sending and receiving encrypted messages between a mediator its peers.

DIDComm Messaging messages are encrypted JSON Web Message (JWM) envelopes. They have a standard structure including headers, a body, and optional attachments, which are encrypted and signed to ensure security and integrity.

For details on how messages are sent and received in Identus, see Mediators

15.2 Sending Messages

15.3 Sending Files