Interface LegacySamDynamicUnlockDataProviderSpi
public interface LegacySamDynamicUnlockDataProviderSpi
Service to be implemented in order to compute the dynamic unlock data expected by the SAM.
- Since:
- 0.4.0
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
getUnlockData
(byte[] samSerialNumber, byte[] samChallenge) Returns the dynamic unlock data computed by an origin SAM.
-
Method Details
-
getUnlockData
byte[] getUnlockData(byte[] samSerialNumber, byte[] samChallenge) Returns the dynamic unlock data computed by an origin SAM.Note: the serial number and the challenge are required in the preparation of the SAM Generate Unlock command.
- Parameters:
samSerialNumber
- The target SAM serial number.samChallenge
- The challenge provided by the target SAM.- Returns:
- An 8-byte byte array.
- Since:
- 0.4.0
-