Class ChipAccessKey.FromMrz
-
- All Implemented Interfaces:
public class ChipAccessKey.FromMrz extends ChipAccessKey
Access key to authenticate to the chip of the eMRTD with data from the MRZ, namely the document number, data of birth, and the expiry date of the document.
-
-
Field Summary
Fields Modifier and Type Field Description public final StringdocumentNumberpublic final StringdateOfBirthpublic final StringdateOfExpiry
-
Constructor Summary
Constructors Constructor Description ChipAccessKey.FromMrz(String documentNumber, String dateOfBirth, String dateOfExpiry)Creates a new instance of this class.
-
Method Summary
Modifier and Type Method Description StringgetDocumentNumber()Gets the document number. StringgetDateOfBirth()Gets the birth date of the document holder. StringgetDateOfExpiry()Gets the expiry date of the document. -
-
Method Detail
-
getDocumentNumber
String getDocumentNumber()
Gets the document number.
- Returns:
The document number.
-
getDateOfBirth
String getDateOfBirth()
Gets the birth date of the document holder.
- Returns:
The birth date of the document holder.
-
getDateOfExpiry
String getDateOfExpiry()
Gets the expiry date of the document.
- Returns:
The expiry date of the document.
-
-
-
-