Enum desfire::comm_mode

Enum Documentation

enum class desfire::comm_mode : std::uint8_t

Type of protection applied to transmitted data. This describes how the command data and response data is transmitted to the card. Different methods, ciphers and security settings imply different communication modes. For the vast majority of the commands, this is already pre-determined.

Values:

enumerator plain

Plain text: data is not encrypted and can be read by intercepting the communication.

enumerator maced

Authenticated: data has a MAC appended to it ensuring its authenticity, but can be intercepted.

enumerator ciphered

Full encryption: data is authenticated and encrypted and cannot be read if the communication is intercepted.

enumerator ciphered_no_crc

Reserved for internal usage. This is a special mode used only within e.g. tag::authenticate.