3 - MTPPSCRAPCL Functions
IPAD, DynaPro, DynaPro Go, and DynaPro Mini| PIN Encryption Devices | Programmer’s Reference (Microsoft Windows Store)
Page 54
Parameter
Description
database
Database Selector:
00 – Contact L2 EMV Tags
01 – PayPass-MasterCard
02 – PayWave-VISA
03 – EspressPay-AMEX
04 – Discover
option
0x00 Normal
0x01 Delay Response
reserved
Reserved Bytes
emvTags
Reserved.
opStatus
An integer pointer to receive the command response or operation status.
Zero value means OK. For more values, see Appendix A.
Return Value:
Returns a value (0: Success, Non-Zero: Error)
3.72
setCAPublicKeySync
This function sets / deletes the corresponding CA Public Key, depending on the operation specified. For
additional information, see
int setCAPublicKeySync(
int operation,
byte [] keyBlock,
int keyBlockLength,
byte[] key,
ref int keyLen,
ref int opStatus);
Parameter
Description
operation
Type of operation to be performed:
0 – Erase all CA Public Keys
1 – Erase all CA Public Keys for a given RID
2 – Erase a single CA Public Key
3 – Add a single CA Public Key
4 – Read a single CA Public Key
0x0F – Read all CA Public Keys
keyBlock
CA Public Key to send
keyBlockLength
Length of the CA Public Key
key
Buffer to receive key list or key information from device.
keyLen
Length of buffer
opStatus
An integer pointer to receive the command response or operation status.
Zero value means OK. For more values, see Appendix A.