Keypop Calypso Crypto Legacy SAM C++ API 0.6.0
Reference Calypso Crypto Legacy SAM API for C++
|
#include <LegacySamRevocationServiceSpi.hpp>
Public Member Functions | |
virtual bool | isSamRevoked (const std::vector< uint8_t > &serialNumber) const =0 |
virtual bool | isSamRevoked (const std::vector< uint8_t > &serialNumber, const int counterValue) const =0 |
Service to be implemented in order to check dynamically if a SAM is revoked.
Definition at line 26 of file LegacySamRevocationServiceSpi.hpp.
|
pure virtual |
Checks if the SAM with the provided serial number is revoked or not.
Note: the provided SAM serial number can be complete (4 bytes) or partial (3 LSBytes).
serialNumber | The complete or partial SAM serial number to check. |
|
pure virtual |
Checks if the SAM with the provided serial number and the associated counter value is revoked or not.
Note: the provided SAM serial number can be complete (4 bytes) or partial (3 LSBytes).
serialNumber | The complete or partial SAM serial number to check. |
counterValue | The SAM counter value. |