Interface CryptStatisticsProvider

All Known Implementing Classes:
CryptFilter

public interface CryptStatisticsProvider
  • Method Details

    • getLastInputSequenceNumber

      long getLastInputSequenceNumber()
      Retrieves the previous input sequence number.

      This is the sequence number of the last received packet.

      Returns:
      the sequence number as an unsigned 32bit value.
    • getInputSequenceNumber

      long getInputSequenceNumber()
      Retrieves the current input sequence number.

      This is the sequence number expected for the next packet.

      Returns:
      the sequence number as an unsigned 32bit value.
    • getOutputSequenceNumber

      long getOutputSequenceNumber()
      Retrieves the current output sequence number.

      This is the sequence number for the next packet.

      Returns:
      the sequence number as an unsigned 32bit value.
    • getInputCounters

      Retrieves the input counters.
      Returns:
      the input counters
    • getOutputCounters

      Retrieves the output counters.
      Returns:
      the output counters
    • isSecure

      boolean isSecure()
      Tells whether the connection is secure: encrypted and having a message authentication code, either via an explicit MAC or as part of an AEAD cipher.
      Returns:
      whether the connection is secure