Differences

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

Link to this comparison view

Next revision
Previous revision
en:bs2_getcredentialkeyinfo [2018/03/15 15:50]
yjjung created
— (current)
Line 1: Line 1:
-FIXME **This page is not fully translated, yet. Please help completing the translation.**\\ //(remove this paragraph once the translation is finished)// 
  
-~~NOTOC~~ 
-[[sdk_api]] > [[BS2_GetCredentialKeyInfo]] 
- 
-===== BS2_GetCredentialKeyInfo ===== 
-[+ V2.6.0] Gets the encryption key information for the device. 
-==== Declaration ==== 
-<code cpp> 
-#include "​BS_API.h"​ 
- 
-int BS2_GetCredentialKeyInfo(void* context, uint32_t deviceId, BS2CredentialKeyInfo* keyInfo); 
-</​code>​ 
- 
-<callout type="​info">​ 
-[[sdk_api#​BS2CredentialKeyInfo|See BS2CredentialKeyInfo Structure]] 
-</​callout>​ 
-==== Parameter ==== 
-  * [In] ''//​context//''​ : Context 
-  * [In] ''//​deviceId//''​ : Device ID 
-  * [Out] ''//​keyInfo//''​ : The address of structure that the encryption key information to be returned. 
-==== Return Value ==== 
-If successfully done, ''​BS_SDK_SUCCESS''​ will be returned. \\ 
-If there is an error, the corresponding error code will be returned. 
-==== See Also ==== 
-[[BS2_SetCredentialKeyInfo]]\\ [[BS2_RemoveCredentialKeyInfo]]