from
A key from the card access number, answering with a result instead of throwing: the same rules as the Can constructor, in the same style as Mrz.Companion.from and Mrz.Companion.fromTypedFields.
Nothing is trimmed or corrected. Pass the digits exactly as printed.
Return
CanKeyResult.Built with the key, or CanKeyResult.NotBuilt with the problem (CanKeyProblem.EMPTY, or CanKeyProblem.CHARACTER_NOT_ALLOWED with the index of the first character that is not a digit).
Since
1.0.0
Parameters
can
The card access number as printed: digits only, at least one.