## Uses of Class
net.i2p.router.message.GarlicConfig

- Packages that use GarlicConfig
  Package | Description
  --- | ---
  net.i2p.router.message |

- - ### Uses of GarlicConfig in net.i2p.router.message

    Subclasses of GarlicConfig in net.i2p.router.message
    Modifier and Type | Class and Description
    --- | ---
    `class` | `PayloadGarlicConfig` Garlic config containing an I2NP message

    Methods in net.i2p.router.message that return GarlicConfig
    Modifier and Type | Method and Description
    --- | ---
    `GarlicConfig` | GarlicConfig.`getClove(int index)`

    Methods in net.i2p.router.message with parameters of type GarlicConfig
    Modifier and Type | Method and Description
    --- | ---
    `void` | GarlicConfig.`addClove(GarlicConfig config)` Add a clove to the current message - if any cloves are added, an I2NP message cannot be specified via setPayload.
    `static GarlicMessage` | GarlicMessageBuilder.`buildMessage(RouterContext ctx, GarlicConfig config, SessionKey wrappedKey, Set<SessionTag> wrappedTags, int numTagsToDeliver, int lowTagsThreshold, boolean forceElGamal, SessionKeyManager skm)` called by netdb
    `static GarlicMessage` | GarlicMessageBuilder.`buildMessage(RouterContext ctx, GarlicConfig config, SessionKey wrappedKey, Set<SessionTag> wrappedTags, PublicKey target, SessionKey encryptKey, SessionTag encryptTag)` used by TestJob and directly above
    `static GarlicMessage` | GarlicMessageBuilder.`buildMessage(RouterContext ctx, GarlicConfig config, SessionKey wrappedKey, Set<SessionTag> wrappedTags, SessionKeyManager skm)` called by OCMJH