Reason

Why the session ended.

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

An answer's checksum did not match the one computed over it.

Link copied to clipboard

An answer had no checksum, so it could not be checked.

Link copied to clipboard

An answer's data objects were not in the defined form.

Link copied to clipboard

A decrypted answer did not end in the defined padding.

Link copied to clipboard

The chip answered without protection with a status word that ends a session.

Link copied to clipboard

The chip answered a protected command with a plain length hint (61xx or 6Cxx).

Link copied to clipboard

The session had already ended; nothing was sent.

Link copied to clipboard

An answer's status word came without the checksum that covers it, and it was not the one plain answer a session allows (an empty 9000): the chip's answer cannot be relied on.

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.