Class IntegrityHmacSha256_128
java.lang.Object
org.metricshub.ipmi.core.coding.security.IntegrityAlgorithm
org.metricshub.ipmi.core.coding.security.IntegrityHmacSha256_128
HMAC-SHA256-128 integrity algorithm.
-
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
-
Constructor Details
-
IntegrityHmacSha256_128
public IntegrityHmacSha256_128()Initiates HMAC-SHA1-96 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.
-