java.lang.Object
net.i2p.router.networkdb.kademlia.MessageWrapper.OneTimeSession
Enclosing class:
MessageWrapper

public static class MessageWrapper.OneTimeSessionextends Object
A single key and tag, for receiving a single message.
  • Field Details

  • Constructor Details

    • OneTimeSession

      public OneTimeSession(SessionKey key, SessionTag tag)
      Builds an ElGamal session, leaving the ratchet tag null.
      Parameters:
      key - the session key
      tag - the session tag for ElGamal
    • OneTimeSession

      public OneTimeSession(SessionKey key, RatchetSessionTag tag)
      Creates a new one-time session with a ratchet tag.
      Parameters:
      key - the session key
      tag - the ratchet session tag