public class AuthenticationRakpNone extends AuthenticationAlgorithm
Constructor and Description |
---|
AuthenticationRakpNone() |
Modifier and Type | Method and Description |
---|---|
boolean |
checkKeyExchangeAuthenticationCode(byte[] data,
byte[] key,
java.lang.String password)
Checks value of the Key Exchange Authentication Code in RAKP messages
using the RAKP-None algorithm.
|
boolean |
doIntegrityCheck(byte[] data,
byte[] reference,
byte[] sik)
Performs Integrity Check in RAKP 4 message
using the RAKP-None algorithm.
|
byte |
getCode() |
int |
getIntegrityCheckBaseLength() |
byte[] |
getKeyExchangeAuthenticationCode(byte[] data,
java.lang.String password)
Calculates value of the Key Exchange Authentication Code in RAKP messages
using the RAKP-None algorithm.
|
int |
getKeyLength() |
public byte getCode()
getCode
in class AuthenticationAlgorithm
public boolean checkKeyExchangeAuthenticationCode(byte[] data, byte[] key, java.lang.String password)
checkKeyExchangeAuthenticationCode
in class AuthenticationAlgorithm
data
- - The base for authentication algorithm. Depends on RAKP
Message.key
- - the Key Exchange Authentication Code to check.password
- - password of the user establishing a sessionpublic byte[] getKeyExchangeAuthenticationCode(byte[] data, java.lang.String password)
getKeyExchangeAuthenticationCode
in class AuthenticationAlgorithm
data
- - The base for authentication algorithm. Depends on RAKP
Message.password
- - password of the user establishing a sessionpublic boolean doIntegrityCheck(byte[] data, byte[] reference, byte[] sik)
doIntegrityCheck
in class AuthenticationAlgorithm
data
- - The base for authentication algorithm.reference
- - The Integrity Check Value to validate.sik
- - The Session Integrity Key generated on base of RAKP Messages
1 and 2.Rakp1.calculateSik(com.veraxsystems.vxipmi.coding.commands.session.Rakp1ResponseData)
public int getKeyLength()
getKeyLength
in class AuthenticationAlgorithm
public int getIntegrityCheckBaseLength()
getIntegrityCheckBaseLength
in class AuthenticationAlgorithm