Package org.metricshub.ipmi.core.api.sol
Class SpecificCipherSuiteSelector
java.lang.Object
org.metricshub.ipmi.core.api.sol.SpecificCipherSuiteSelector
- All Implemented Interfaces:
CipherSuiteSelectionHandler
Implementation of
CipherSuiteSelectionHandler that always returns cipher suite provided in the constructor.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchoose(List<CipherSuite> availableCipherSuites) Chooses oneCipherSuiteamong list of availableCipherSuites, to be used during IPMI connection.
-
Constructor Details
-
SpecificCipherSuiteSelector
-
-
Method Details
-
choose
Description copied from interface:CipherSuiteSelectionHandlerChooses oneCipherSuiteamong list of availableCipherSuites, to be used during IPMI connection.- Specified by:
choosein interfaceCipherSuiteSelectionHandler- Parameters:
availableCipherSuites-CipherSuites returned by the server as avaialble to use.- Returns:
- chosen cipher suite
-