Provides a standard way for reading and writing messages transferred over I2P
so that the recipient has an authenticated mechanism to reply to it. This is
necessary because the base I2P message sent through
has no "from" address, and simply providing a raw "from" address would be
insecure as it could be spoofed. An application that needs to know for certain
who sent a message to them should use the
to parse the raw message received from the
in turn, use the
I2PDatagramMaker to build a
message that can be parsed.
The datagram format implemented here includes
Destination, the payload, and a signature
(signed by the sender's
For DSA_SHA1 destinations, the signature is of the SHA-256 Hash of the payload.
For other destination types, the signature is of the payload itself.
Class Summary Class Description I2PDatagramDissectorClass for dissecting I2P repliable datagrams, checking the authenticity of the sender. I2PDatagramMakerClass for creating I2P repliable datagrams.
Exception Summary Exception Description I2PInvalidDatagramExceptionException thrown when I2P repliable datagram signature verification fails.