Instance of IAccessTokenProvider implementation. Using [[getToken]] to receive JWT.
Instance of implementation of ICardCrypto interface.
Instance of CardManager. Used to create cards with user public keys.
Instance of VirgilCardVerifier.
Unique identifier of current user. Received from JWT token.
Instance of IKeyEntryStorage implementation. Used for storing private keys.
Instance of implementation of ICrypto interface.
Uploads current user private key to Virgil Keyknox Storage.
Changes password for access to current user private key backup.
users old password
users new password
Deletes local private key from key storage. Make sure backupPrivateKey method was called first.
Checks if current user has private key saved locally.
Find public keys for user identities registered on Virgil Cloud.
Register current user in Virgil Cloud. Saves private key locally and uploads public key to cloud.
Delete private key saved in Virgil Keyknox Storage.
User password for access to Virgil Keyknox Storage. If password omitted resets all Keyknox storage.
Downloads private key from Virgil Cloud. Use backupPrivateKey to upload the key first.
User password for access to Virgil Keyknox Storage.
Generates a new private key and saves locally. Replaces old public key with new one in Cloud. Used in case if old private key is lost.
Unregister current user. Revokes public key in Virgil Cloud and deletes local private key.