Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:bs2_setdataencryptkey [2018/04/16 17:05] yjjung [BS2_SetDataEncryptKey] |
en:bs2_setdataencryptkey [2020/09/18 07:07] (current) yjjung [See Also] |
||
---|---|---|---|
Line 5: | Line 5: | ||
===== BS2_SetDataEncryptKey ===== | ===== BS2_SetDataEncryptKey ===== | ||
- | [+ V2.6.0] Sets the encryption key for the device.\\ | + | [+ 2.7.1] Changes the user defined PIN encryption key. \\ |
- | If the device's key is the same as the one you are currently setting, the key setting will be ignored. \\ | + | If the PIN encryption key on the device is the same as you are trying to change, this configuration will be ignored. \\ |
- | Also, if the key of the device is different from the one you want to set, the key will be set and the device's data will be erased. | + | If the PIN encryption key on the device is different from what you are trying to change, the PIN will be configured and it deletes all user information on the device. \\ |
+ | <WRAP important> | ||
+ | **CAUTION**\\ | ||
+ | If you change PIN encryption key, then it deletes all user information on the device so that it sets the changed user-defined encryption key. \\ | ||
+ | You must transfer all user information using API such as [[BS2_EnrolUser]]. \\ | ||
+ | The API [[BS2_MakePinCode]] encrypts user PIN with a default key. \\ | ||
+ | If you've ever changed to user-defined PIN encryption key, then PIN needs to be assigned to users again using [[BS2_MakePinCodeWithKey]] \\ | ||
+ | </WRAP> | ||
==== Declaration ==== | ==== Declaration ==== | ||
<code cpp> | <code cpp> | ||
Line 26: | Line 33: | ||
If there is an error, the corresponding error code will be returned. | If there is an error, the corresponding error code will be returned. | ||
==== See Also ==== | ==== See Also ==== | ||
- | [[BS2_GetDataEncryptKey]]\\ [[BS2_RemoveDataEncryptKey]] | + | [[BS2_MakePinCodeWithKey]]\\ [[BS2_RemoveDataEncryptKey]] |