Skip to main content

Veritran Docs

Mockup Load DUKPT Key

This function loads a 3DES DUKPT key in the selected slot. It's 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 BDK session key, a serial number and the expected KCV value. Refer to the Input Registers section to learn more.

Function ID

Register

Value

110

5

Input Registers

Register

Description

Mandatory

Value

390

Key slot number

Yes

From 0 to 99

391

BDK session key, using master key in slot

Yes

32-digit hexadecimal string

392

Key Serial Number (KSN)

Yes

Hexadecimal KSN

393

Expected KCV (Key Checksum Value)

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