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::LegacySamStaticUnlockDataProviderSpi Class Referenceabstract

#include <LegacySamStaticUnlockDataProviderSpi.hpp>

Public Member Functions

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

Detailed Description

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

Since
0.4.0

Definition at line 26 of file LegacySamStaticUnlockDataProviderSpi.hpp.

Member Function Documentation

◆ getUnlockData()

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

Returns the static unlock data expected by the target SAM.

Note: the serial number can be used as diversifier in the computation of the unlock data.

Parameters
samSerialNumberThe target SAM serial number.
Returns
A 16-byte byte array.
Since
0.4.0

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