![]() |
BALTECH Docs |
C API for BALTECH SDK
|
| brp_errcode brp_Desfire_AuthExtKey | ( | brp_protocol | protocol, |
| brp_Desfire_AuthExtKey_SecureMessaging | SecureMessaging, | ||
| unsigned | DesKeyNr, | ||
| brp_Desfire_AuthExtKey_CryptoMode | CryptoMode, | ||
| brp_buf | Key, | ||
| size_t | Key_len | ||
| ) |
This command authenticates a card with the reader, similarly to the brp_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.
| [in] | protocol | used to execute the command |
| [in] | SecureMessaging | Sets the secure messaging mode. |
| [in] | DesKeyNr | DESFire key number (0-13). |
| [in] | CryptoMode | Sets the encryption algorithm. |
| [in] | Key | Key to use for authentication |
| [in] | Key_len |