Processes the given DWN message and returns with a reply.
The tenant DID to route the given message to.
Optional
options: MessagesSubscribeMessageOptionsOptional
options: RecordsWriteMessageOptionsOptional
options: MessageOptionsValidates structure of DWN message
GenericMessageReply if the message has an integrity error, otherwise undefined.
Checks tenant gate to see if tenant is allowed.
The tenant DID to route the given message to.
GenericMessageReply if the message has an integrity error, otherwise undefined.
Static
create
Initializes the DWN instance and opens the connection to it.