14.2 IDTechSDK.IDT_KioskIII Class Reference
55
Parameters
key
Response returned as a CAKey format: [5 bytes RID][1 byte Index][1 byte Hash Algorithm][1 byte
Encryption Algorithm][20 bytes HashValue][4 bytes Public Key Exponent][2 bytes Modulus
Length][Variable bytes Modulus] Where:
• Hash Algorithm: The only algorithm supported is SHA-1.The value is set to 0x01
• Encryption Algorithm: The encryption algorithm in which this key is used. Currently support only
one type: RSA. The value is set to 0x01.
• HashValue: Which is calculated using SHA-1 over the following fields: RID & Index & Modulus &
Exponent
• Public Key Exponent: Actually, the real length of the exponent is either one byte or 3 bytes. It can
have two values: 3 (Format is 0x00 00 00 03), or 65537 (Format is 0x00 01 00 01)
• Modulus Length: LenL LenH Indicated the length of the next field.
• Modulus: This is the modulus field of the public key. Its length is specified in the field above.
Returns
RETURN_CODE: Values can be parsed with errorCode.getErrorString()
14.2.2.13
RETURN_CODE IDTechSDK.IDT_KioskIII.ctls_retrieveCAPKList ( ref byte[ ]
keys
)
Retrieve the Certificate Authority Public Key list
Returns all the CAPK RID and Index installed on the terminal for CTLS.
Parameters
keys
[key1][key2]...[keyn], each key 6 bytes where key = 5 bytes RID + 1 byte index
Returns
RETURN_CODE: Values can be parsed with errorCode.getErrorString()
14.2.2.14
RETURN_CODE IDTechSDK.IDT_KioskIII.ctls_retrieveTerminalData ( ref byte[ ]
tlv
)
Retrieve Terminal Data
Retrieves the Terminal Data for CTLS. This is configuration group 0 (Tag FFEE -
>
FFEE0100). The terminal data
can also be retrieved by ctls_getConfigurationGroup(0).
Parameters
tlv
Response returned as a TLV
Returns
RETURN_CODE: Values can be parsed with errorCode.getErrorString()
IDTech Windows SDK Guide for Kiosk III/IV #80136501-001