Desfire.AuthExtKey

This command authenticates a card with the reader, similarly to the Desfire.Authenticate command, but uses an external authentication key provided as a parameter. Allowed are keys with a length of 8, 16 and 24 Byte.

Properties

Parameters (request frame)

Name Type/Size Description
SecureMessaging Enumeration (8 bits) Sets the secure messaging mode.
Values:
  • Native (0x01)
  • EV1 (0x00)
  • EV2 (0x02)
DesKeyNr Integer (8 bits) DESFire key number (0-13).
CryptoMode Enumeration (8 bits) Sets the encryption algorithm.
Values:
  • DES (0x01)
  • TripleDES (0x02)
  • ThreeKeyTripleDES (0x03)
  • AES (0x04)
Length of Key Integer (8 bits) Length of Key in bytes
Key Raw data Key to use for authentication

Returned values (response frame)

None