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,
                          Destination dest)
        The session key manager should only be constructed and accessed through the application context. This constructor should only be used by the appropriate application context itself.