Data Models

  • Represents document details extracted from an ASN.1 node collection derived from the eMRTD DataGroup12.

    See more

    Declaration

    Swift

    public struct DocumentDetails
  • Represents biometric face data conforming to the ISO/IEC 19794-5 standard.

    See more

    Declaration

    Swift

    public struct FaceBiometricDataEncoding
  • MRZ

    Structure for parsing and extracting data from a Machine Readable Zone (MRZ) of a travel document.

    The MRZ typically contains information such as the document number, holder’s date of birth, expiry date, and more.

    To use MRZ, provide a byte array representing the MRZ data and specify the type of travel document (TDType) to determine the data structure.

    MRZ provides methods to extract various data fields from the MRZ, such as the document number, date of birth, expiry date, and so on, based on the specified document type.

    Note

    This structure is designed for parsing travel documents with Machine Readable Zones of type 1 (TD1), type 2 (TD2), or type 3 (TD3) conforming to ICAO standards.

    See also

    TDType and TravelDocument

    See more

    Declaration

    Swift

    public struct MRZ
  • Represents personal details extracted from an ASN.1 data collection derived from the eMRTD DataGroup11.

    See more

    Declaration

    Swift

    public struct PersonalDetails
  • An enumeration representing the type of a travel document (TD) based on the Machine Readable Zone (MRZ) structure.

    According to the ICAO Document 9303 and ISO/IEC 7810 standard, there are three standardized document types depending on the position and the size of the MRZ within the physical document.

    Note

    MRZ is duplicated within the DataGroup1 from the physical smart card.

    See also

    MRZ and TravelDocument

    See more

    Declaration

    Swift

    public enum TDType : String, CaseIterable
  • A structure representing a Travel Document, which includes information parsed from the Machine Readable Zone (MRZ).

    See also

    MRZ and TDType
    See more

    Declaration

    Swift

    public struct TravelDocument