Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class MrtdAccessDataMrz(val documentNumber: String, val dateOfBirth: String, val dateOfExpiration: String) : MrtdAccessData
Represents a small set of data that is typically captured by OCR from Machine Readable Zone (MRZ) on a passport (or other MRTD).
Link copied to clipboard
Link copied to clipboard
data class MrtdDecodedData(val firstName: String, val firstNameComponents: List<String>, val lastName: String, val issuingState: String, val nationality: String, val gender: String, val documentCode: String, val documentNumber: String, val dateOfBirth: String, val dateOfExpiry: String, val personalNumber: String?, val optionalData1: String?, val optionalData2: String?, val photoMediaType: String?, val photo: ByteString?, val signatureMediaType: String?, val signature: ByteString?)
Data read from the passport or ID card.
Link copied to clipboard
class MrtdMrzChecksumValidator(checksumRanges: List<MrtdMrzChecksumValidator.Range>, checksumDigitIndex: Int)
Validates that a data field in Machine Readable Zone (MRZ) was scanned and OCRed correctly from an ICAO Machine-readable Travel Document (MRTD).
Link copied to clipboard
Implements Chip Access Procedure (see ICAO 9303 part 11, Section 4.2), establishing encrypted connection to the chip. Emits MrtdNfc.Status as the reading progresses.
Link copied to clipboard
Raw data read from the passport or ID card.
Link copied to clipboard
class MrtdNfcDataDecoder
Decoder that validates MrtdNfcData and converts it to MrtdDecodedData.
Link copied to clipboard
Link copied to clipboard
Properties
Functions
Link copied to clipboard
Extracts MrtdAccessDataMrz from text that was captured by OCR of a passport page.
Link copied to clipboard