Keypop Calypso Crypto Legacy SAM C++ API 0.6.0
Reference Calypso Crypto Legacy SAM API for C++
Public Member Functions | List of all members
keypop::calypso::crypto::legacysam::spi::LegacySamDynamicUnlockDataProviderSpi Class Referenceabstract

#include <LegacySamDynamicUnlockDataProviderSpi.hpp>

Public Member Functions

virtual const std::vector< uint8_t > & getUnlockData (const std::vector< uint8_t > &samSerialNumber, const std::vector< uint8_t > &samChallenge) const =0
 

Detailed Description

Service to be implemented in order to compute the dynamic unlock data expected by the SAM.

Since
0.4.0

Definition at line 26 of file LegacySamDynamicUnlockDataProviderSpi.hpp.

Member Function Documentation

◆ getUnlockData()

virtual const std::vector< uint8_t > & keypop::calypso::crypto::legacysam::spi::LegacySamDynamicUnlockDataProviderSpi::getUnlockData ( const std::vector< uint8_t > &  samSerialNumber,
const std::vector< uint8_t > &  samChallenge 
) const
pure virtual

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
samSerialNumberThe target SAM serial number.
samChallengeThe challenge provided by the target SAM.
Returns
An 8-byte byte array.
Since
0.4.0

The documentation for this class was generated from the following file: