@Override
    public void storeSecretKey(String secretKeyJson) {
        SecretKeyManager.getInstance(mSAContextManager).storeSecretKey(secretKeyJson);
    }
@Test
    public void storeSecretKey() {
        SAHelper.initSensors(mApplication);
        String key = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAiX+GcdDPF1In7cvBSvKYrCEGnC3jU+ADrFvvGQFcxloEFTGs6JOMdi56y5l4XJqDLKX/gp4wdIFiV89S0JnOF7V2Q0FvN+1ReaUvI93Fwus9BEnCUchdTHL6jZWBbe";
        JSONObject keyJson = new JSONObject();
        JSONObject remoteJson = new JSONObject();
        try {
            keyJson.put("public_key", key);
            keyJson.put("pkv", "1");
            remoteJson.put("configs", keyJson.toString());
        } catch (JSONException e) {
            e.printStackTrace();
        }
        SAEncryptAPIImpl encryptAPIImpl = new SAEncryptAPIImpl(SensorsDataAPI.sharedInstance(mApplication).getSAContextManager());
        encryptAPIImpl.storeSecretKey(remoteJson.toString());
    }