DataGroup14
internal final class DataGroup14 : 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
-
An array of security information objects contained within Data Group 14.
Declaration
Swift
private(set) var securityInfos: [SecurityInfo] { get }
-
Initializes a
DataGroup14
instance with ASN.1 encoded data and a data group identifier.Throws
An error if decoding or instantiation of security information objects fails.Declaration
Swift
internal required init(_ data: ASN1Node, identifier: DGTag) throws
Parameters
data
The ASN.1 encoded data for Data Group 14.
identifier
The identifier of the data group.
-
Decodes the ASN.1 encoded data, extracting and storing security information objects.
Throws
An error if decoding or instantiation of security information objects fails.Declaration
Swift
override internal func decode(_ data: ASN1Node) throws
Parameters
data
The ASN.1 encoded data for Data Group 14.