Class AbstractSession.MessageCodingSettings

java.lang.Object
org.apache.sshd.common.session.helpers.AbstractSession.MessageCodingSettings
Enclosing class:
AbstractSession

protected static class AbstractSession.MessageCodingSettings extends Object
Message encoding or decoding settings as determined at the end of a key exchange.
  • Constructor Details

  • Method Details

    • getCipher

      public Cipher getCipher(long packetSequenceNumber) throws Exception
      Get the Cipher.
      Parameters:
      packetSequenceNumber - SSH packet sequence number for initializing the cipher. Pass AbstractSession.seqo if the cipher is to be used for output, AbstractSession.seqi otherwise.
      Returns:
      the fully initialized cipher
      Throws:
      Exception - if the cipher cannot be initialized
    • getMac

      public Mac getMac()
    • getCompression

      public Compression getCompression()