setSecureStorageIV method

bool setSecureStorageIV()

Fonction créant la clé de chiffrement aléatoire (IV) du SecureStorage

Implementation

bool setSecureStorageIV(){
  IV iv = IV.fromLength(16);
  int result = _keyring.setPassword(_SECURE_SERVICE_IVNAME, _SECURE_SERVICE_IVUSERNAME, iv.base64);
  if (result == 0){
    _secureStorageIV = iv.base64;
  }
  return result == 0;
}