Skip to main content

Veritran Docs

[en] Mockup Load DUKPT Key

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

[en] Function ID

[en] Register

[en] Value

110

5

[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] BDK session key, using master key in slot

[en] Yes

[en] 32-digit hexadecimal string

392

[en] Key Serial Number (KSN)

[en] Yes

[en] Hexadecimal KSN

393

[en] Expected KCV (Key Checksum Value)

[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