This guide shows how to save a Virgil KeyThe Virgil Key is a wrapper of the user's secure Private Key more ... from the default storage after its generation.
Set up your project environment before you begin to generate a Virgil Key, with the getting started guide.
In order to save the Virgil Key we need to:
- Initialize the Virgil SDKThe SDK helps take tedious complexity out of coding by providing APIs for all of Virgil Services.:
VirgilApi virgil = new VirgilApiImpl("[YOUR_ACCESS_TOKEN_HERE]");
- Save Alice's Virgil Key in the protected storage on the device
// save Virgil Key into storage
Developers can also change the Virgil Key storage directory as needed, during Virgil SDK initialization.