Interface CipherSuiteSelectionHandler

All Known Implementing Classes:
SpecificCipherSuiteSelector

public interface CipherSuiteSelectionHandler
Interface for CipherSuite selection handler to choose among available CipherSuites returned by the server.
  • Method Details

    • choose

      CipherSuite choose(List<CipherSuite> availableCipherSuites)
      Chooses one CipherSuite among list of available CipherSuites, to be used during IPMI connection.
      Parameters:
      availableCipherSuites - CipherSuites returned by the server as avaialble to use.
      Returns:
      the suite to use, never null: a selector that refuses every suite the BMC offers throws an exception (a null suite fails the session setup, and is never taken for suite 0)