EasyManua.ls Logo

IDTECH NEO2 - Page 98

Default Icon
153 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
88 Class Documentation
Parameters
capk 6 bytes CAPK = 5 bytes RID + 1 byte Index
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: Return codes listed as typedef enum in IDTCommon:RETURN_CODE. Values can be
parsed with device_getResponseCodeString:
13.7.2.13 - (RETURN_CODE) ctls_retrieveCAPKList: (NSArray ∗∗) keys
Retrieve the Certificate Authority Public Key list
Returns all the CAPK RID and Index installed on the terminal for CTLS.
Parameters
keys NSArray of NSData CAPK name (RID + Index)
Returns
RETURN_CODE: Return codes listed as typedef enum in IDTCommon:RETURN_CODE. Values can be
parsed with device_getResponseCodeString:
13.7.2.14 - (RETURN_CODE) ctls_retrieveTerminalData: (NSData ∗∗) tlv
Retrieve Terminal Data
Retrieves the Terminal Data for CTLS. This is configuration group 0 (Tag DFEE2D - > DFEE2D0100). The terminal
data can also be retrieved by ctls_getConfigurationGroup(0).
Parameters
tlv Response returned as a TLV
#80152504-001 IDTech iOS SDK Guide for NEO2

Table of Contents

Related product manuals