Packages that use PayloadGarlicConfig
Package
Description
Garlic message creation, parsing and handling, and the outbound message jobs: one-shot sends, source routing and delivery status handling.
Uses of PayloadGarlicConfig in net.i2p.router.message
Methods in net.i2p.router.message that return PayloadGarlicConfigModifier and TypeMethodDescriptionprivate static PayloadGarlicConfigOutboundClientMessageJobHelper.buildAckClove(RouterContext ctx, Hash from, TunnelInfo replyToTunnel, long replyToken, long expiration, SessionKeyManager skm) Build a clove that sends a DeliveryStatusMessage to us.private PayloadGarlicConfigOutboundClientMessageOneShotJob.buildClove()Build the payload clove that will be used for all of the messages, placing the clove in the status structure.private static PayloadGarlicConfigOutboundClientMessageJobHelper.buildLeaseSetClove(RouterContext ctx, long expiration, LeaseSet replyLeaseSet) Build a clove that stores the leaseSet locally.Methods in net.i2p.router.message with parameters of type PayloadGarlicConfigModifier and TypeMethodDescriptionprivate static byte[]GarlicMessageBuilder.buildClove(RouterContext ctx, PayloadGarlicConfig config) Builds one clove's encrypted payload.private static GarlicCloveGarlicMessageBuilder.buildECIESClove(RouterContext ctx, PayloadGarlicConfig config) Build a single clove.private static GarlicConfigOutboundClientMessageJobHelper.createGarlicConfig(RouterContext ctx, long replyToken, long expiration, PublicKey recipientPK, PayloadGarlicConfig dataClove, Hash from, Destination dest, TunnelInfo replyTunnel, boolean requireAck, LeaseSet bundledReplyLeaseSet, SessionKeyManager skm) Make the top-level config, with a data clove, an optional ack clove, and an optional leaseset clove.(package private) static GarlicMessageOutboundClientMessageJobHelper.createGarlicMessage(RouterContext ctx, long replyToken, long expiration, PublicKey recipientPK, PayloadGarlicConfig dataClove, Hash from, Destination dest, TunnelInfo replyTunnel, int tagsToSendOverride, int lowTagsOverride, SessionKey wrappedKey, Set<SessionTag> wrappedTags, boolean requireAck, LeaseSet bundledReplyLeaseSet, ReplyCallback callback) Build a garlic message that will be delivered to the router on which the target is located.