Old revisions Add to book Export to PDF Book Creator Add this page to your book Book Creator Remove this page from your book Manage book (0 page(s)) Help This is an old revision of the document! This page is not fully translated, yet. Please help completing the translation. (remove this paragraph once the translation is finished) SDK API > BS2_GetDataEncryptKey BS2_GetDataEncryptKey [+ V2.6.0] Gets data encryption key. Declaration #include "BS_API.h" int BS2_GetDataEncryptKey(void* context, uint32_t deviceId, BS2EncryptKey* keyInfo); See BS2EncryptKey Structure Parameter [In] context : Context [In] deviceId : Device ID [Out] keyInfo : Structure address of encryption key information which will 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_SetDataEncryptKey BS2_RemoveDataEncryptKey