public class Protocolv20Encoder extends ProtocolEncoder
Constructor and Description |
---|
Protocolv20Encoder() |
Modifier and Type | Method and Description |
---|---|
byte[] |
encode(IpmiMessage ipmiMessage)
Encodes IPMI message.
|
public byte[] encode(IpmiMessage ipmiMessage) throws java.lang.IllegalArgumentException, java.security.InvalidKeyException
ProtocolEncoder
encode
in interface IpmiEncoder
encode
in class ProtocolEncoder
ipmiMessage
- - IPMI message to be encoded. Must be Ipmiv20Message
.java.lang.IllegalArgumentException
- when IPMI protocol version or authentication type is
incorrect.java.security.InvalidKeyException
- - when initiation of the confidentiality algorithm failsIpmiv20Message