Interface SamRevocationServiceSpi
-
public interface SamRevocationServiceSpi
Service to be implemented in order to check dynamically if a SAM is revoked.- Since:
- 1.2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods 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 Detail
-
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:
- 1.2.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:
- 1.2.0
-
-