DataGroups

  • A class representing card access data from an ASN.1 encoded structure.

    CardAccess is a transparent EF contained in the master file and is conditionally required if the optional PACE access control is invoked.

    Note

    It is required if PACE is supported by the eMRTD chip and shall contain the PACEInfo required for PACE.

    See more

    Declaration

    Swift

    internal final class CardAccess
  • DataGroup is an abstract class that represents a data group, which is a container for structured data stored in ASN.1 format.

    Within the LDS (Logical Data Structure), logical groupings of related Data Elements have been established. These logical groupings are referred to as Data Groups.

    Note

    This class is extended and the decode(_:) function is overrided to retrieve needed data for the specific Data Group.

    See more

    Declaration

    Swift

    internal class DataGroup
  • COM

    A class representing the Common (COM) data group in an electronic passport.

    It contains LDS (Logical Data Structure) version information, Unicode version information and a list of the Data Groups that are present for the application.

    Note

    The LDS1 eMRTD application must have only one file EF.COM that contains the common information for the application.

    See also

    DataGroup

    See more

    Declaration

    Swift

    internal final class COM : DataGroup
  • Represents Data Group 1 (DG1) from an ePassport. DG1 contains information about the travel document.

    The Data Elements of DG1 are intended to reflect the entire contents of the MRZ whether it contains actual data or filler characters.

    Note

    Details on the implementation of the MRZ are dependent on the type of LDS1 eMRTD (TD1, TD2 or TD3 formats).

    Note

    DG1 is required by the LDS of the eMRTD.

    Note

    The MRZ is duplicated within DG1 from the physical document.

    See more

    Declaration

    Swift

    internal final class DataGroup1 : DataGroup
  • Represents Data Group 2 (DG2) from an ePassport and it contains biometric data related to the passport holder’s face.

    DG2 represents the globally interoperable biometric for machine assisted identity confirmation with machine readable travel documents, which shall be an image of the face of the holder as an input to a face recognition system. If there is more than one recording, the most recent internationally interoperable encoding shall be the first entry.

    Note

    This Data Group must use the Biometric Information Template (BIT) group template with nested BITs specified in ISO/IEC 7816-11, which allows the possibility to store multiple biometric templates and is in harmony with the CBEFF.

    Note

    To facilitate interoperability, the first biometric recorded in each Data Group shall be encoded as per ISO/IEC19794-5.

    Note

    DG2 is required by the LDS of the eMRTD.

    See more

    Declaration

    Swift

    internal final class DataGroup2 : DataGroup
  • Represents Data Group 7 (DG7) from an ePassport. DG7 contains information about displayed signature.

    Note

    DG7 is an optional Data Group and it may be not present within the eMRTD.

    See also

    DataGroup

    See more

    Declaration

    Swift

    internal final class DataGroup7 : DataGroup
  • Represents Data Group 11 (DG11) from an ePassport that contains personal details of the passport holder.

    DG11 is used for additional details about the document holder.

    Note

    Data elements within this group are all optional.

    See also

    PersonalDetails and DataGroup

    See more

    Declaration

    Swift

    internal final class DataGroup11 : DataGroup
  • Represents Data Group 12 (DG12) from an ePassport and it contains document details of the passport.

    DG12 is used for additional information about the document.

    Note

    Data elements within this group are all optional.

    See also

    DocumentDetails and DataGroup

    See more

    Declaration

    Swift

    internal final class DataGroup12 : DataGroup
  • A class representing Data Group 14 information from an ASN.1 encoded structure.

    DG14 contains security options for additional supported security mechanisms, i.e. PACE, Chip Auhentication, Active Authentication and Terminal Authentication.

    Note

    It is required if Chip Authentication or PACE-GM/-IM is supported by the eMRTD chip.

    See also

    DataGroup and SecurityInfo

    See more

    Declaration

    Swift

    internal final class DataGroup14 : DataGroup
  • SOD

    SOD (Security Object Document) is a class representing the Security Object data group within an eMRTD. It contains information related to digital signatures and security attributes.

    • Tip: Retrieving data group hashes and perform Passive Autentication is possible by decoding SOD.

    See more

    Declaration

    Swift

    internal final class SOD : DataGroup
  • A placeholder class for a data group that is not implemented.

    See also

    DataGroup and DGDecoder
    See more

    Declaration

    Swift

    internal final class DGNotImplemented : DataGroup
  • A utility class for decoding data groups from ASN.1 encoded data.

    See also

    DataGroup and DGTag
    See more

    Declaration

    Swift

    internal final class DGDecoder
  • Enumeration of Data Group Tags used in ASN.1 encoding.

    See also

    DataGroup and DGDecoder
    See more

    Declaration

    Swift

    internal enum DGTag : ASN1Tag, CaseIterable
    extension DGTag: ASN1TagDecodable