MrzPersonalNumberCheckDigitFiller

data class MrzPersonalNumberCheckDigitFiller(val rawPersonalNumber: String, val position: Int) : MrzWarning

Warning: a TD3 personal number has content, but its check digit is <.

Reported by the validator. No MrzCheckDigitMismatch is reported for that check digit in this case. When the personal number is all filler, ICAO Doc 9303 Part 4 allows < (or 0) as its check digit, so the validator reports neither this warning nor a mismatch.

Since

0.1.0

Constructors

Link copied to clipboard
constructor(rawPersonalNumber: String, position: Int)

Properties

Link copied to clipboard
open override val description: String

English text for logs: the filler check digit. It never contains the personal number; that is in rawPersonalNumber.

Link copied to clipboard

Zero-based index of the check digit across the lines joined with no separator.

Link copied to clipboard

The personal number as printed.

Functions

Link copied to clipboard
open override fun toString(): String

MrzPersonalNumberCheckDigitFiller: followed by description, so logs carry no document values.