Old revisions Add to book Export to PDF This is an old revision of the document! SDK API > BS2_GetCredentialKeyInfo 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); See BS2CredentialKeyInfo Structure 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