package net.i2p.router.message
Garlic message creation, parsing and handling, and the outbound message jobs: one-shot sends, source routing and delivery status handling. Not for use by apps, clients or plugins.
- ClassDescriptionThe unwrapped result of decrypting a GarlicMessage: an array of GarlicCloves plus the outer certificate, message ID, and expiration.Configuration and content for a garlic message containing one or more cloves.Static methods to build GarlicMessages from a GarlicConfig, for both ElGamal/AES and ECIES (X25519 + PQ) encryption schemes.Builds jobs to process garlic messages received outside tunnels.Read a GarlicMessage, decrypt it, and return the resulting CloveSet.Handles the reception and decryption of GarlicMessages.Interface for handling decrypted garlic cloves.Job to handle an inbound GarlicMessage received outside of a tunnel.Helper cache manager for outbound message optimization in OCMOSJ.Composite key for caches, combining source and destination Hashes.Static methods to create a Garlic Message with one or more cloves.Send a client message out an outbound tunnel and into an inbound tunnel on the target leaseSet.Keep an eye out for any of the delivery status message tokens that have been sent down the various tunnels to deliver this message.Outcome of one send attempt.A GarlicConfig that holds a single I2NPMessage payload with no sub-cloves.Send a message directly to another router (not through a tunnel).