DocumentDetails
public struct DocumentDetails
Represents document details extracted from an ASN.1 node collection derived
from the eMRTD DataGroup12
.
-
Declaration
Swift
public var iussingAuthority: String? { get }
-
Declaration
Swift
public var dateOfIssue: String? { get }
-
Declaration
Swift
public var otherPersonDetails: String? { get }
-
Declaration
Swift
public var endorsementsOrObservations: String? { get }
-
Declaration
Swift
public var taxOrExitRequirements: String? { get }
-
Front image data of the document.
Declaration
Swift
private(set) var frontImage: [UInt8]? { get }
-
Rear image data of the document.
Declaration
Swift
private(set) var rearImage: [UInt8]? { get }
-
Declaration
Swift
public var personalizationTime: String? { get }
-
Declaration
Swift
public var personalizationDeviceSerialNumber: String? { get }
-
Initializes
DocumentDetails
by extracting and decoding document details from an ASN.1 node collection derived from the eMRTDDataGroup12
.Throws
An error if decoding errors occur during the process.
Declaration
Swift
internal init(nodes: ASN1NodeCollection) throws
Parameters
nodes
ASN.1 node collection containing document details.