Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
en:bs2_setdataencryptkey [2018/04/16 17:05]
yjjung [BS2_SetDataEncryptKey]
en:bs2_setdataencryptkey [2020/09/18 07:07]
yjjung [BS2_SetDataEncryptKey]
Line 5: Line 5:
  
 ===== BS2_SetDataEncryptKey ===== ===== BS2_SetDataEncryptKey =====
-[+ V2.6.0Sets the encryption key for the device.\\ +[+ 2.7.1Changes ​the user defined PIN encryption key. \\ 
-If the device'​s ​key is the same as the one you are currently settingthe key setting ​will be ignored. \\ +If the PIN encryption ​key on the device ​is the same as you are trying to changethis 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>