Class RatchetSKM

    • Field Detail

      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • SESSION_PENDING_DURATION_MS

        static final long SESSION_PENDING_DURATION_MS
        See Also:
        Constant Field Values
    • Constructor Detail

      • 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