Reason

Why access was not granted.

May gain members in a later release: an exhaustive when over it then stops compiling until the new member is handled. An else branch keeps it compiling without handling the new member: that is your choice, and today the compiler warns that such an else is redundant.

Since

1.0.0

Entries

Link copied to clipboard

The chip refused the reader's proof of the key at the authentication step (BAC's EXTERNAL AUTHENTICATE, PACE's mutual authentication) with 6300, 63CX or, for BAC, 6982; statusWord holds it. Usually the key does not match the chip's; on a device a chip also refused, with 63C0, a key that it accepted on the next read. The status word is the chip's answer, not a count of tries: the MRZ key and the card access number have no try counter.

Link copied to clipboard

The chip answered a step of the access protocol with a status word other than success, and the reader stopped; statusWord holds it. Also 6983, 6984 or 6985 at BAC's EXTERNAL AUTHENTICATE or at any PACE step, and a warning (62xx, 63xx) to PACE's MSE:Set AT: words that report a password's state only for passwords with a try counter, which the SDK does not use.

Link copied to clipboard

The chip's answer during the access protocol was not what the protocol defines, so the reader stopped.

Link copied to clipboard

A card access number opens a chip only with PACE, and this chip offers no PACE the reader can run.

Link copied to clipboard

The access key was cleared before the read, so it can no longer open a chip.

Link copied to clipboard

The chip answered "security status not satisfied" (6982) for a file.

Link copied to clipboard

For a password with a try counter: the chip reports it as blocked ("authentication method blocked" 6983, or no tries left 63C0; TR-03110-3, B.14).

Link copied to clipboard

For a password with a try counter: the chip reports it as suspended (63C1, or 6985 during PACE): one try is left, and the chip asks for its card access number first.

Link copied to clipboard

For a password with a try counter: the chip reports it as deactivated ("reference data not usable" 6984, or the warning 6283 during PACE).

Link copied to clipboard

For a password with a try counter: the chip reports the tries left before any try was made (63C2 to 63CF to PACE's MSE:Set AT; the number of tries left is the last digit of statusWord).

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.