DSMRZDocumentData
@objc
open class DSMRZDocumentData : NSObject, DSDocumentData
Information about the scanned MRZ of an identification document
-
Creates an instance of the object with the given MRZ data
Declaration
Swift
@objc public init(properties: [String : String], confidence: Float = 0.0)
-
Returns the MRZ data as a dictionary
Declaration
Swift
public var rawDocumentData: [String : String] { get }
-
First name of the person listed in the MRZ
Declaration
Swift
@objc public var firstName: String? { get }
-
Last name of the person listed in the MRZ
Declaration
Swift
@objc public var lastName: String? { get }
-
Middle name of the person listed in the MRZ
Declaration
Swift
@objc public var middleName: String? { get }
-
Document type of the passport
Declaration
Swift
@objc public var documentType: String? { get }
-
Document sub type of the passport
Declaration
Swift
@objc public var documentSubType: String? { get }
-
Country code of the person listed in the barcode
Declaration
Swift
@objc public var countryCode: String? { get }
-
Passport number of the document
Declaration
Swift
@objc public var passportNumber: String? { get }
-
The validate code for the passport number
Declaration
Swift
@objc public var passportNumberCheck: String? { get }
-
Nationality name of the person listed in the MRZ
Declaration
Swift
@objc public var nationality: String? { get }
-
Date of Birth of the person listed in the MRZ
Declaration
Swift
@objc public var dateOfBirth: String? { get }
-
The validate code for the data of birth
Declaration
Swift
@objc public var birthValidation: String? { get }
-
Sex of the person listed in the MRZ
Declaration
Swift
@objc public var sex: String? { get }
-
Expiration date of the document
Declaration
Swift
@objc public var expirationDate: String? { get }
-
The validate code for the expiration date
Declaration
Swift
@objc public var expirationValidation: String? { get }
-
Personal number listed on the Passport
Declaration
Swift
@objc public var personalNumber: String? { get }
-
The validate code for the personal number
Declaration
Swift
@objc public var personalNumberValidation: String? { get }
-
The validate code for the personal information
Declaration
Swift
@objc public var personalInformationValidation: String? { get }
-
Indicates if the passport is valid or not based on the information and the passport check digits.
Declaration
Swift
@objc public var isValid: Bool { get }
-
Undocumented
Declaration
Swift
@objc public var line1: String? { get }
-
Undocumented
Declaration
Swift
@objc public var line2: String? { get }
-
Undocumented
Declaration
Swift
@objc public var line3: String? { get }
-
The full Machine-Readable Zone text (lines separated by newlines)
Declaration
Swift
@objc public var mrz: String? { get }
-
The derived
MRZ_information
key used to authenticate via BAC / PACE with the eMRTD integrated chip, if supportedDeclaration
Swift
@objc public var mrzInformationKey: String? { get }
-
Returns a string that represents the contents of the receiving class
Declaration
Swift
open override var description: String { get }