Interface LegacySamRevocationServiceSpi


public interface LegacySamRevocationServiceSpi
Service to be implemented in order to check dynamically if a SAM is revoked.
Since:
0.1.0
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isSamRevoked(byte[] serialNumber)
    Checks if the SAM with the provided serial number is revoked or not.
    boolean
    isSamRevoked(byte[] serialNumber, int counterValue)
    Checks if the SAM with the provided serial number and the associated counter value is revoked or not.
  • Method Details

    • isSamRevoked

      boolean isSamRevoked(byte[] serialNumber)
      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:
      serialNumber - The complete or partial SAM serial number to check.
      Returns:
      True if the SAM is revoked, otherwise false.
      Since:
      0.1.0
    • isSamRevoked

      boolean isSamRevoked(byte[] serialNumber, int counterValue)
      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:
      serialNumber - The complete or partial SAM serial number to check.
      counterValue - The SAM counter value.
      Returns:
      True if the SAM is revoked, otherwise false.
      Since:
      0.1.0