Skip to main content

Veritran Docs

Mockup Load Master Key

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

Parameter Configuration

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.

Function ID

Register

Value

110

4

Input Registers

Register

Description

Mandatory

Value

390

Key slot number

Yes

From 0 to 99

391

Cleartext master key value

Yes

32-digit hexadecimal cleartext master key

392

Expected KCV when session key has been injected

Yes

6-digit hexadecimal KCV

Output Registers

Register

Description

Value

112

Call result

000

NO_ERROR

001

INVALID_INPUT_PARAMETER

002

INVALID_SLOT

003

SLOT_HAS_NO_KEY

004

KEY_NOT_STORED_IN_SLOT

005

KEY_IS_NOT_MASTER_SESSION_KEY

006

CANCELLED_PIN

007

INVALID_KCV

290

KCV

6-digit hexadecimal KCV