Mif.AuthUser

This command authenticates a certain sector of a card using the key specified in the Key variable.

Depending on the value of the AuthMode variable, either key A or key B of the sector specified by the Block variable will be compared to the key specified in KeyIdx.

It is only possible to authenticate one sector at a time.

Properties

Parameters (request frame)

Name Type/Size Description
AuthMode Enumeration (8 bits) Authentication Mode.
Values (2):
  • KeyA (0x60)
    Authenticate with Key A.
  • KeyB (0x61)
    Authenticate with Key B.
Block Integer (8 bits) Block to authenticate.
Key Raw data (length 6 Bytes) Key to use for authentication.

Returned values (response frame)

None