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.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String getDocumentNumber() Gets the document number.
      String getDateOfBirth() Gets the birth date of the document holder.
      String getDateOfExpiry() Gets the expiry date of the document.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ChipAccessKey.FromMrz

        ChipAccessKey.FromMrz(String documentNumber, String dateOfBirth, String dateOfExpiry)
        Creates a new instance of this class.
        Parameters:
        documentNumber - The document number,
        dateOfBirth - The birth date of the document holder.
        dateOfExpiry - The expiry date of the document.
    • Method Detail

      • 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.