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 also
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 also
COM
,DataGroup1
,DataGroup2
,DataGroup7
,DataGroup11
DataGroup12
,DataGroup14
andSOD
Declaration
Swift
internal class DataGroup
-
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
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 withinDG1
from the physical document.See also
TravelDocument
,TDType
,MRZ
andDataGroup
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 also
Declaration
Swift
internal final class DataGroup2 : 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
Declaration
Swift
internal final class DataGroup11 : 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
Declaration
Swift
internal final class DataGroup14 : DataGroup
-
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 also
DataGroup
,SignedData
,PKCS7
,X509Certificate
andPassiveAuthenticationHandler
Declaration
Swift
internal final class SOD : DataGroup