VhlCfg / File / LegicNeonAuthSettings Value

This value defines the authentication settings for accessing a LEGIC neon file.

Properties

Format

Name Type/Size Description
KeyType Enumeration (8 bits) This byte defines which of the 3 authentication keys is be used to access the neon file.
Values (3):
  • ReadOnlyKey (0x00)
    Use read-only key
  • ReadWriteKey (0x01)
    Use read-write key
  • WriteOnlyKey (0x02)
    Use write-only key
AuthKeyIndex Integer (8 bits) This byte specifies the index in the LEGIC SM key storage where the authentication key required to access the neon file is stored (0x00-0x7F).
EncKeyIndex Integer (8 bits) This byte specifies the index in the LEGIC SM key storage where the encrytpion key required to access the neon file is stored (0x00-0x7F).
PrivKeyIndex Integer (8 bits)

This byte specifies the index in the LEGIC SM key storage where the privacy key required to access the neon file is stored (0x00-0x7F).

This key is only required for neon applets. In all other cases, set this value to 0xFF.