CardAccess
internal final class CardAccess
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
-
Elementary File (EF) Identifier used to select and read it with APDU command.
Declaration
Swift
internal static let EFIdentifier: [UInt8]
-
Retrieves the PACE (Password Authenticated Connection Establishment) information from the security information.
Declaration
Swift
internal var paceInfo: PACEInfo? { get }
-
Initializes a
CardAccess
instance by parsing ASN.1 encoded data.Throws
An error if parsing or instantiation of security information objects fails.
Declaration
Swift
internal required init(_ data: ASN1Node) throws
Parameters
data
The ASN.1 encoded data for card access information.