Class RatchetSKM

java.lang.Object
net.i2p.crypto.SessionKeyManager
net.i2p.router.crypto.ratchet.RatchetSKM
All Implemented Interfaces:
SessionTagListener

public class RatchetSKM extends SessionKeyManager implements SessionTagListener
Since:
0.9.44
  • Field Details

    • _context

      protected final RouterContext _context
    • SESSION_TAG_DURATION_MS

      static final long SESSION_TAG_DURATION_MS
      Let outbound session tags sit around for this long before expiring them. Inbound tag expiration is set by SESSION_LIFETIME_MAX_MS
      See Also:
    • SESSION_LIFETIME_MAX_MS

      static final long SESSION_LIFETIME_MAX_MS
      Keep unused inbound session tags around for this long (a few minutes longer than session tags are used on the outbound side so that no reasonable network lag can cause failed decrypts) This is also the max idle time for an outbound session.
      See Also:
    • SESSION_PENDING_DURATION_MS

      static final long SESSION_PENDING_DURATION_MS
      See Also:
  • Constructor Details

    • RatchetSKM

      public RatchetSKM(RouterContext context)
      For the router SKM only.
      Since:
      0.9.48
    • RatchetSKM

      public RatchetSKM(RouterContext context, Destination dest)
      The session key manager is constructed and accessed through the client manager.
      Parameters:
      dest - null for router's SKM only
  • Method Details