This guide shows how to load a private , which is stored on the device. The key must be loaded when Alice wants to some data, any encrypted content, and perform cryptographic operations.
Set up your project environment before you begin to load a Virgil Key, with the getting started guide.
In order to load the Virgil Key from the default storage:
VSSVirgilApi *virgil = [[VSSVirgilApi alloc]
- Alice has to load her Virgil Key from the protected storage and enter the Virgil Key's password
// load a Virgil Key from storage
VSSVirgilKey *aliceKey = [virgil.keys loadKeyWithName:@"[KEY_NAME]"
To load a Virgil Key from a specific storage, developers need to change the storage path during Virgil SDK initialization.