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