Class IntegrityHmacMd5_128
java.lang.Object
org.metricshub.ipmi.core.coding.security.IntegrityAlgorithm
org.metricshub.ipmi.core.coding.security.IntegrityHmacMd5_128
HMAC-MD5-128 integrity algorithm.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the algorithm.intReturns the length of the authentication codebytegetCode()Returns the algorithm's ID.Methods inherited from class org.metricshub.ipmi.core.coding.security.IntegrityAlgorithm
generateAuthCode, initialize
-
Field Details
-
ALGORITHM_NAME
- See Also:
-
-
Constructor Details
-
IntegrityHmacMd5_128
public IntegrityHmacMd5_128()Initiates HMAC-MD5-128 integrity algorithm.
-
-
Method Details
-
getCode
public byte getCode()Description copied from class:IntegrityAlgorithmReturns the algorithm's ID.- Specified by:
getCodein classIntegrityAlgorithm
-
getAlgorithmName
Description copied from class:IntegrityAlgorithmReturns the name of the algorithm.- Specified by:
getAlgorithmNamein classIntegrityAlgorithm- Returns:
- The algorithm name as a
String.
-
getAuthCodeLength
public int getAuthCodeLength()Description copied from class:IntegrityAlgorithmReturns the length of the authentication code- Specified by:
getAuthCodeLengthin classIntegrityAlgorithm- Returns:
- The length of the authentication code in bytes.
-