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

#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
 

Detailed Description

Service to be implemented in order to check dynamically if a SAM is revoked.

Since
0.1.0

Definition at line 26 of file LegacySamRevocationServiceSpi.hpp.

Member Function Documentation

◆ isSamRevoked() [1/2]

virtual bool keypop::calypso::crypto::legacysam::spi::LegacySamRevocationServiceSpi::isSamRevoked ( const std::vector< uint8_t > &  serialNumber) const
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).

Parameters
serialNumberThe complete or partial SAM serial number to check.
Returns
True if the SAM is revoked, otherwise false.
Since
0.1.0

◆ isSamRevoked() [2/2]

virtual bool keypop::calypso::crypto::legacysam::spi::LegacySamRevocationServiceSpi::isSamRevoked ( const std::vector< uint8_t > &  serialNumber,
const int  counterValue 
) const
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).

Parameters
serialNumberThe complete or partial SAM serial number to check.
counterValueThe SAM counter value.
Returns
True if the SAM is revoked, otherwise false.
Since
0.1.0

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