56
Class Documentation
14.2.2.15
RETURN_CODE IDTechSDK.IDT_KioskIII.ctls_setApplicationData ( byte[ ]
tlv
)
Set Application Data by AID
Sets the Application Data for CTLS as specified by TLV data
Parameters
tlv
Application data in TLV format The first tag of the TLV data must be the group number (FFE4). The
second tag of the TLV data must be the AID (9F06)
Example valid TLV, for Group #2, AID a0000000035010: "ffe401029f0607a0000000051010ffe10101ffe50110ffe30114ffe20106"
Returns
RETURN_CODE: Values can be parsed with errorCode.getErrorString()
14.2.2.16
RETURN_CODE IDTechSDK.IDT_KioskIII.ctls_setCAPK ( byte[ ]
key
)
Set Certificate Authority Public Key
Sets the CAPK for CTLS as specified by the CAKey structure
Parameters
key
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.17
RETURN_CODE IDTechSDK.IDT_KioskIII.ctls_setConfigurationGroup ( byte[ ]
tlv
)
Set Configuration Group
Sets the Configuration Group for CTLS as specified by the TLV data
Parameters
tlv
Configuration Group Data in TLV format The first tag of the TLV data must be the group number (FFE4). A
second tag must exist
#80136501-001 IDTech Windows SDK Guide for Kiosk III/IV