Command: AUTH

USAGE auth [plain|mac|enc] [keydata]
DESCRIPTION Authenticate using the given (or default) initial key (key set version 255) according to Secure Channel Protocol (SCP).
The command combines the following 2 commands:
init-update
ext-auth
Execution of the command without any params will use the default keyset. Set your keyset before using the set-key command.
PARAMETER
NameDescriptionRequired
--+-- plain --+-->
  !           !
  +-- mac   --+
  !           !
  +-- enc   --+
plain - no secure messaging (default)
mac - Command MAC (C-MAC) generation
enc - Command data encryption (C-ENC) and C-MAC generation.
No
keydata keydata for authentication No
EXAMPLE
>  /card
resetCard with timeout: 0 (ms)
--Waiting for card...
ATR=3B FA 13 00 00 81 31 FE 45 4A 43 4F 50 34 31 56    ;.....1.EJCOP41V
    32 32 31 96                                        221.
ATR: T=1, FI=1/DI=3 (93clk/etu), N=0, IFSC=254, BWI=4/CWI=5, Hist="JCOP41V221"
Status: No Error
cm>  auth enc 404142434445464748494a4b4c4d4e4f
Status: No Error
  		
CONDITIONS None.