Class SpecificCipherSuiteSelector

java.lang.Object
org.metricshub.ipmi.core.api.sol.SpecificCipherSuiteSelector
All Implemented Interfaces:
CipherSuiteSelectionHandler

public class SpecificCipherSuiteSelector extends Object implements CipherSuiteSelectionHandler
Implementation of CipherSuiteSelectionHandler that always returns cipher suite provided in the constructor.
  • Constructor Details

    • SpecificCipherSuiteSelector

      public SpecificCipherSuiteSelector(CipherSuite cipherSuite)
      Creates a selector that always returns the given suite, whether the BMC offers it or not.
      Parameters:
      cipherSuite - the suite to use, for example CipherSuite.forId(17)
  • Method Details