This is an old revision of the document!


FIXME This page is not fully translated, yet. Please help completing the translation.
(remove this paragraph once the translation is finished)

SDK API > BS2_GetCredentialKeyInfo

[+ V2.6.0] Gets the encryption key information for the device.

Declaration

#include "BS_API.h"
 
int BS2_GetCredentialKeyInfo(void* context, uint32_t deviceId, BS2CredentialKeyInfo* keyInfo);

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