Packages that use GarlicConfig
Package
Description
Garlic message creation, parsing and handling, and the outbound message jobs: one-shot sends, source routing and delivery status handling.
Uses of GarlicConfig in net.i2p.router.message
Subclasses of GarlicConfig in net.i2p.router.messageModifier and TypeClassDescriptionclassA GarlicConfig that holds a single I2NPMessage payload with no sub-cloves.Fields in net.i2p.router.message with type parameters of type GarlicConfigModifier and TypeFieldDescriptionprivate final List<GarlicConfig> GarlicConfig._cloveConfigsNested cloves, for garlic within garlic.Methods in net.i2p.router.message that return GarlicConfigModifier and TypeMethodDescriptionprivate 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.GarlicConfig.getClove(int index) The nested clove config at the given position.PayloadGarlicConfig.getClove(int index) Not supported for single-clove configs.Methods in net.i2p.router.message with parameters of type GarlicConfigModifier and TypeMethodDescriptionvoidGarlicConfig.addClove(GarlicConfig config) Add a clove to the current message - if any cloves are added, an I2NP message cannot be specified via setPayload.voidPayloadGarlicConfig.addClove(GarlicConfig config) Not supported for single-clove configs.private static byte[]GarlicMessageBuilder.buildCloveSet(RouterContext ctx, GarlicConfig config) Build the unencrypted GarlicMessage specified by the config.private static byte[]GarlicMessageBuilder.buildCommonClove(GarlicClove clove, GarlicConfig config) Builds the part of a clove common to all types.private static CloveSetGarlicMessageBuilder.buildECIESCloveSet(RouterContext ctx, GarlicConfig config) Build the unencrypted CloveSet specified by the config.static GarlicMessageGarlicMessageBuilder.buildECIESMessage(RouterContext ctx, GarlicConfig config) Encrypt from an anonymous source.(package private) static GarlicMessageGarlicMessageBuilder.buildECIESMessage(RouterContext ctx, GarlicConfig config, Hash from, Destination to, SessionKeyManager skm, ReplyCallback callback) ECIES_X25519 and PQ only.static GarlicMessageGarlicMessageBuilder.buildMessage(RouterContext ctx, GarlicConfig config, Set<SessionTag> wrappedTags, PublicKey target, SessionKey encryptKey, SessionTag encryptTag) ELGAMAL_2048 only.static GarlicMessageGarlicMessageBuilder.buildMessage(RouterContext ctx, GarlicConfig config, SessionKey wrappedKey, Set<SessionTag> wrappedTags, int numTagsToDeliver, int lowTagsThreshold, SessionKeyManager skm) ELGAMAL_2048 only.static GarlicMessageGarlicMessageBuilder.buildMessage(RouterContext ctx, GarlicConfig config, SessionKey wrappedKey, Set<SessionTag> wrappedTags, int numTagsToDeliver, SessionKeyManager skm) ELGAMAL_2048 only Called by OCMJH.static GarlicMessageGarlicMessageBuilder.buildMessage(RouterContext ctx, GarlicConfig config, SessionKey wrappedKey, Set<SessionTag> wrappedTags, SessionKeyManager skm) ELGAMAL_2048 only.static GarlicMessageGarlicMessageBuilder.buildMessage(RouterContext ctx, GarlicConfig config, SessionKey encryptKey, RatchetSessionTag encryptTag) Ratchet only.Constructor parameters in net.i2p.router.message with type arguments of type GarlicConfigModifierConstructorDescriptionprotectedGarlicConfig(List<GarlicConfig> cloveConfigs, Certificate cert, long id, long expiration, DeliveryInstructions di) Creates a new GarlicConfig with existing clove configs.