Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision Next revision Both sides next revision | ||
en:sdk_api [2016/02/04 17:23] 127.0.0.1 external edit |
en:sdk_api [2020/09/18 07:09] yjjung [SDK API] |
||
---|---|---|---|
Line 8: | Line 8: | ||
* [[BS2_Initialize]]: Initializes the device management Context. | * [[BS2_Initialize]]: Initializes the device management Context. | ||
* [[BS2_ReleaseObject]]: Releases dynamic memory. | * [[BS2_ReleaseObject]]: Releases dynamic memory. | ||
- | * [[BS2_MakePinCode]]: Encrypts the PIN. | + | * [[BS2_MakePinCode]]: Encrypts the PIN. |
+ | * [[BS2_MakePinCodeWithKey]]: Encryptes PIN code with the user-defined PIN encryption key. [+ 2.7.1] | ||
* [[BS2_SetMaxThreadCount]]: Specifies the maximum thread count. | * [[BS2_SetMaxThreadCount]]: Specifies the maximum thread count. | ||
* [[BS2_ComputeCRC16CCITT]]: Calculates the CRC-16 CCITT checksum. | * [[BS2_ComputeCRC16CCITT]]: Calculates the CRC-16 CCITT checksum. | ||
* [[BS2_GetCardModel]]: Retrieves the supported card models. | * [[BS2_GetCardModel]]: Retrieves the supported card models. | ||
+ | * [[BS2_GetDataEncryptKey]]: Gets the encryption key for the device. | ||
+ | * [[BS2_SetDataEncryptKey]]: Sets the encryption key for the device. | ||
+ | * [[BS2_RemoveDataEncryptKey]]: Removes the encryption key for the device. | ||
+ | * [[BS2_SetDeviceSearchingTimeout]] : Specifies the device searching time. | ||
+ | * [[BS2_SetDebugFileLog]] : Retrieves debugging file log. | ||
+ | |||
+ | |||
+ | ===== Structure ===== | ||
+ | ==== BS2EncryptKey ==== | ||
+ | <code cpp> | ||
+ | enum | ||
+ | { | ||
+ | BS2_ENC_KEY_SIZE = 32, | ||
+ | }; | ||
+ | |||
+ | typedef struct | ||
+ | { | ||
+ | uint8_t key[BS2_ENC_KEY_SIZE]; | ||
+ | uint8_t reserved[32]; | ||
+ | } BS2EncryptKey; | ||
+ | </code> | ||
+ | |||
+ | 1. //key// \\ | ||
+ | The key value used by the device. \\ | ||
+ | |||
+ | 2. //reserved// \\ | ||
+ | Reserved space. \\ |