Class AuthenticationRakpHmacMd5
java.lang.Object
org.metricshub.ipmi.core.coding.security.AuthenticationAlgorithm
org.metricshub.ipmi.core.coding.security.AuthenticationRakpHmacMd5
RAKP-HMAC-MD5 authentication algorithm.
-
Constructor Summary
ConstructorsConstructorDescriptionInitiates RAKP-HMAC-MD5 authentication algorithm. -
Method Summary
Methods inherited from class org.metricshub.ipmi.core.coding.security.AuthenticationAlgorithm
checkKeyExchangeAuthenticationCode, doIntegrityCheck, getKeyExchangeAuthenticationCode
-
Constructor Details
-
AuthenticationRakpHmacMd5
public AuthenticationRakpHmacMd5()Initiates RAKP-HMAC-MD5 authentication algorithm.
-
-
Method Details
-
getCode
public byte getCode()- Specified by:
getCode
in classAuthenticationAlgorithm
- Returns:
- algorithm-specific code
-
getKeyLength
public int getKeyLength()- Specified by:
getKeyLength
in classAuthenticationAlgorithm
- Returns:
- length of the key for the RAKP2 message
-
getIntegrityCheckBaseLength
public int getIntegrityCheckBaseLength()- Specified by:
getIntegrityCheckBaseLength
in classAuthenticationAlgorithm
- Returns:
- length of the integrity check base for RAKP4 message
-
getAlgorithmName
- Specified by:
getAlgorithmName
in classAuthenticationAlgorithm
- Returns:
- the name of the algorithm as a
String
.
-