Skip to main content

Veritran Docs

[en] Mockup Load Master Key

[en] This function loads a 3DES master-session key in the selected slot. It is only available for testing purposes in development devices.

[en] Parameter Configuration

[en] This function requires you to set a key slot number to load a key, a cleartext master key value and the expected KVC value. Refer to the Input Registers section to learn more.

[en] Function ID

[en] Register

[en] Value

110

4

[en] Input Registers

[en] Register

[en] Description

[en] Mandatory

[en] Value

390

[en] Key slot number

[en] Yes

[en] From 0 to 99

391

[en] Cleartext master key value

[en] Yes

[en] 32-digit hexadecimal cleartext master key

392

[en] Expected KCV when session key has been injected

[en] Yes

[en] 6-digit hexadecimal KCV

[en] Output Registers

[en] Register

[en] Description

[en] Value

112

[en] Call result

000

[en] NO_ERROR

001

[en] INVALID_INPUT_PARAMETER

002

[en] INVALID_SLOT

003

[en] SLOT_HAS_NO_KEY

004

[en] KEY_NOT_STORED_IN_SLOT

005

[en] KEY_IS_NOT_MASTER_SESSION_KEY

006

[en] CANCELLED_PIN

007

[en] INVALID_KCV

290

[en] KCV

[en] 6-digit hexadecimal KCV