Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
en:bs2_getcredentialkeyinfo [2018/03/15 15:51] yjjung |
— (current) | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ~~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]] | ||