store Private Key

private open fun storePrivateKey(token: String, secretKey: String, ivSpec: String)

Method used to store the private key of the user

Parameters

token

The token of the user

secretKey

The secret key generated

ivSpec

The initialization vector generated

Throws

when an error occurred during the key creation