Uses of Class
net.i2p.router.message.GarlicConfig
-
Uses of GarlicConfig in net.i2p.router.message
Modifier and TypeClassDescriptionclass
Garlic config for a single clove, containing an I2NP message and no sub-cloves.Modifier and TypeMethodDescriptionGarlicConfig.getClove
(int index) PayloadGarlicConfig.getClove
(int index) Modifier and TypeMethodDescriptionvoid
GarlicConfig.addClove
(GarlicConfig config) Add a clove to the current message - if any cloves are added, an I2NP message cannot be specified via setPayload.void
PayloadGarlicConfig.addClove
(GarlicConfig config) static GarlicMessage
GarlicMessageBuilder.buildECIESMessage
(RouterContext ctx, GarlicConfig config) Encrypt from an anonymous source.(package private) static GarlicMessage
GarlicMessageBuilder.buildECIESMessage
(RouterContext ctx, GarlicConfig config, Hash from, Destination to, SessionKeyManager skm, ReplyCallback callback) ECIES_X25519 only.static GarlicMessage
GarlicMessageBuilder.buildMessage
(RouterContext ctx, GarlicConfig config, Set<SessionTag> wrappedTags, PublicKey target, SessionKey encryptKey, SessionTag encryptTag) ELGAMAL_2048 only.static GarlicMessage
GarlicMessageBuilder.buildMessage
(RouterContext ctx, GarlicConfig config, SessionKey wrappedKey, Set<SessionTag> wrappedTags, int numTagsToDeliver, int lowTagsThreshold, SessionKeyManager skm) ELGAMAL_2048 only.static GarlicMessage
GarlicMessageBuilder.buildMessage
(RouterContext ctx, GarlicConfig config, SessionKey wrappedKey, Set<SessionTag> wrappedTags, int numTagsToDeliver, SessionKeyManager skm) ELGAMAL_2048 only.static GarlicMessage
GarlicMessageBuilder.buildMessage
(RouterContext ctx, GarlicConfig config, SessionKey wrappedKey, Set<SessionTag> wrappedTags, SessionKeyManager skm) Now unused, since we have to generate a reply token first in OCMOSJ but we don't know if tags are required yet.static GarlicMessage
GarlicMessageBuilder.buildMessage
(RouterContext ctx, GarlicConfig config, SessionKey encryptKey, RatchetSessionTag encryptTag) Ratchet only.ModifierConstructorDescriptionprotected
GarlicConfig
(List<GarlicConfig> cloveConfigs, Certificate cert, long id, long expiration, DeliveryInstructions di)