Class Protocolv20Encoder
java.lang.Object
org.metricshub.ipmi.core.coding.protocol.encoder.ProtocolEncoder
org.metricshub.ipmi.core.coding.protocol.encoder.Protocolv20Encoder
- All Implemented Interfaces:
IpmiEncoder
Encodes IPMI v2.0 message.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Protocolv20Encoder
public Protocolv20Encoder()
-
-
Method Details
-
encode
Description copied from interface:IpmiEncoder
Encodes IPMI message.- Parameters:
ipmiMessage
- - IPMI message to be encoded. Must beIpmiv20Message
.- Returns:
- IPMI message encoded into byte array.
- Throws:
IllegalArgumentException
- when IPMI protocol version or authentication type is incorrect.InvalidKeyException
- - when initiation of the confidentiality algorithm fails- See Also:
-