Key Store

2023-09-11
No Rating

Catalog

The KeyStore interface class requires developers to implement , and pass in the implementation instance when initializing through ESDKInit::Init. Through this interface, the EdgeSDK obtains the RSA2048 key for establishing secure communication. The implementer should securely generate and persistently store the key. Once bound to pilot, keys should not change again, otherwise it is necessary to re-use Pilot for binding.

Function

function RSA2048_GetDERPrivateKey

Function: Returns RSA2048 DER private key.product:all
virtual ErrorCode RSA2048_GetDERPrivateKey(
        std::string& private_key) const = 0;
Return
Execution result

function RSA2048_GetDERPublicKey

Function: Returns RSA2048 DER public key.product:all
virtual ErrorCode RSA2048_GetDERPublicKey(
        std::string& public_key) const = 0;
Return
Execution result