Related:
- Aries RFC0095: Basic Message Protocol 1.0
- DIDComm V2: DIDComm Plaintext Messages
- DIDComm V2: DIDComm Signed Messages
- DIDComm V2: DIDComm Encrypted Messages
The BasicMessage protocol describes a stateless, easy to support user message protocol. It has a single message type used to communicate.
Demonstrate the use of plain, signed and encrypted DIDComm V2 message
{
"id":"13fa75fb-c6cf-4a8b-a549-2207cd31ddcb",
"typ":"application/didcomm-plain+json",
"type":"https://didcomm.org/basicmessage/2.0/message",
"from":"did:key:z6MkorRGtXqsPnD3bwqT6wGbNJDCEeD9zY1DfbnEPkkzFLDz",
"to":[
"did:key:z6MksVz8urciusNUhE8SS2BxT3S6fUHJVwbcja6fMb9qBNZX"
],
"created_time":1676295686,
"body":{
"content":"Your hovercraft is full of eels"
}
}