## Uses of Class
net.i2p.router.networkdb.kademlia.MessageWrapper.OneTimeSession

- Packages that use MessageWrapper.OneTimeSession
  Package | Description
  --- | ---
  net.i2p.data.i2np | This package defines the low-level messages sent between routers, called Invisible Internet Network Protocol (I2NP).
  net.i2p.router.networkdb.kademlia | Kademlia DHT implementation and floodfill router functionality for I2P.
  net.i2p.router.tunnel | Core tunnel management, message processing, and encryption for I2P's anonymous routing system.

- - ### Uses of MessageWrapper.OneTimeSession in net.i2p.data.i2np

    Methods in net.i2p.data.i2np that return MessageWrapper.OneTimeSession
    Modifier and Type | Method and Description
    --- | ---
    `MessageWrapper.OneTimeSession` | BuildRequestRecord.`readGarlicKeys()` Reads the garlic keys for OBEP.

  - ### Uses of MessageWrapper.OneTimeSession in net.i2p.router.networkdb.kademlia

    Methods in net.i2p.router.networkdb.kademlia that return MessageWrapper.OneTimeSession
    Modifier and Type | Method and Description
    --- | ---
    `static MessageWrapper.OneTimeSession` | MessageWrapper.`generateSession(RouterContext ctx, Hash localDest, long expiration, boolean forceElG)` Create a single key and tag, for receiving a single encrypted message, and register it with the client's session key manager, to expire in the time specified.
    `static MessageWrapper.OneTimeSession` | MessageWrapper.`generateSession(RouterContext ctx, long expiration)` Create a single key and tag, for receiving a single encrypted message, and register it with our router's session key manager, to expire in the time specified.
    `static MessageWrapper.OneTimeSession` | MessageWrapper.`generateSession(RouterContext ctx, SessionKeyManager skm, long expiration, boolean forceElG)` Create a single key and tag, for receiving a single encrypted message, and register it with the client's session key manager, to expire in the time specified.

    Methods in net.i2p.router.networkdb.kademlia with parameters of type MessageWrapper.OneTimeSession
    Modifier and Type | Method and Description
    --- | ---
    `static GarlicMessage` | MessageWrapper.`wrap(RouterContext ctx, I2NPMessage m, MessageWrapper.OneTimeSession session)` Garlic wrap a message from nobody, destined for an unknown router, to hide the contents from the IBGW.

  - ### Uses of MessageWrapper.OneTimeSession in net.i2p.router.tunnel

    Methods in net.i2p.router.tunnel that return MessageWrapper.OneTimeSession
    Modifier and Type | Method and Description
    --- | ---
    `MessageWrapper.OneTimeSession` | TunnelCreatorConfig.`getGarlicReplyKeys()` ECIES short OBEP record only.

    Methods in net.i2p.router.tunnel with parameters of type MessageWrapper.OneTimeSession
    Modifier and Type | Method and Description
    --- | ---
    `void` | TunnelCreatorConfig.`setGarlicReplyKeys(MessageWrapper.OneTimeSession keys)` ECIES short OBEP record only.