# List of Commands

(Short list of supported operations — see the supported commands page for detailed command sections.)

* LoadTMK - loads terminal master key
* LoadMK - loads master key
* LoadWK - loads working keys
* RequestMAC - MAC request
* ChangePW - change password
* InteracRequest - interac request
* InteracResponse - interac response
* RequestSN - serial number request
* LoadSDK - load sdk
* LoadSecure - load secure
* InjectBSN - inject bsn
* GetBSN - get bsn
* LoadBSN - load bsn
* ChangeKTKPW - change KTK password
* InjectKeys - inject keys
* ReadCheckSum - read check sum
* ReadSN - read serial number
* LoadKeys - load keys

Configuration examples and command mappings:

**\[moneris.commands]**

```ini
0x23=ReadSN
0x24=ChangeKTKPW
0x60=InjectKeys
0x61=ReadCheckSum
S97=LoadKeys
```

**\[chase.commands]**

```ini
S66=RequestMAC
S70=InteracRequest
S71=InteracResponse
S82=LoadMK
S84=LoadWK
S86=LoadTMK
S95=RequestSN
```

**\[chase.config]**

```ini
LoadTMK_FS=false
LoadTMK_UseDefPW=true
LoadMK_FS=false
InteracRequest_UseMAC=true
InteracRequest_UseSN=true
```

Description of some config entries:

| Parameter              | Description                                                                                                  |
| ---------------------- | ------------------------------------------------------------------------------------------------------------ |
| LoadTMK\_FS            | Specifies if there is in the LoadTMK request.                                                                |
| LoadTMK\_UseDefPW      | Specifies if response for Interac Request should have serial number if default password is used for LoadTMK. |
| LoadMK\_FS             | Specifies if there is in the LoadMK request.                                                                 |
| InteracRequest\_UseMAC | Specifies if there is processing for MAC data.                                                               |
| InteracRequest\_UseSN  | Specifies if response for Interac Request should have serial number appended.                                |

Other command groups and mappings are specified in corresponding INI sections (see original file for full lists for gpc, acceo, fdms, scotia, loblaws, tdcan, etc.).

### Configuration Parameters

| Parameter      |                                                                                         Description | Values                                                        | INI File Location    |
| -------------- | --------------------------------------------------------------------------------------------------: | ------------------------------------------------------------- | -------------------- |
| KEYLOADER\_LOG |                                                                         Enable/disable KeyLoader UI | 0 (Disabled), 1 (Enabled) Default: 0                          | Config.usr1, \[reg]  |
| KLBAUD         |                                                                       Baud rate for keyloader comms | Default: 9600                                                 | appconfig.ini/config |
| KLCOM          |                                                                                  Communication port | String: COM1, USBD Default: COM1                              | appconfig.ini/config |
| KLGUI          |                                                                         Enable/disable KeyLoader UI | 0 (Disabled), 1 (Enabled) Default: 1                          | Config.usr1, \[reg]  |
| MACMODE        | If MACing occurs on encrypted or unencrypted PAN when VSP is enabled. Affects S66 and S70 commands. | 0 - MACing on encrypted PAN (default), 1 - on unencrypted PAN | CAMCORE.INI          |
| PINSEC         |                                                                                   PIN Security Type | INTERAC                                                       | CAMCORE.INI          |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.verifone.com/xpi/tbd-documentation/keyloader/new_xpi_generic_keyloader_userguide_vers1.0e/list-of-commands.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
