Package org.metricshub.ipmi.core.api.sol
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 Summary
Modifier and TypeMethodDescriptionchoose(List<CipherSuite> availableCipherSuites) Chooses oneCipherSuiteamong list of availableCipherSuites, to be used during IPMI connection.
-
Method Details
-
choose
Chooses oneCipherSuiteamong list of availableCipherSuites, 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)
-