public class SERecognizerByHistoricalBytes extends SERecognizer
Modifier and Type | Field and Description |
---|---|
static int |
HISTORICAL_BYTES_MAX_LENGTH
The maximum length of the historical bytes.
|
static int |
HISTORICAL_BYTES_MIN_LENGTH
The minimum length of the historical bytes.
|
Constructor and Description |
---|
SERecognizerByHistoricalBytes(byte[] values)
Initializes a new instance of the SERecognizerByHistoricalBytes class.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isMatching(Session session)
Gets the historical bytes and compares them with the expected ones.
|
public static final int HISTORICAL_BYTES_MIN_LENGTH
public static final int HISTORICAL_BYTES_MAX_LENGTH
public SERecognizerByHistoricalBytes(byte[] values) throws java.lang.IllegalArgumentException
values
- Byte array, to be checked for presence in the historical
bytes.java.lang.IllegalArgumentException
- if values has a wrong length or it's null.public boolean isMatching(Session session) throws java.lang.IllegalArgumentException
isMatching
in class SERecognizer
session
- The session from which the historical bytes will be get.java.lang.IllegalArgumentException
- if the used session is null.SEEK for Android Copyright 2015, Giesecke & Devrient GmbH