Exporting Virgil Key
This guide shows how to export a Virgil KeyThe Virgil Key is a wrapper of the user's secure Private Key more ... to the string representation.
Set up your project environment before you begin to export a Virgil Key, with the getting started guide.
In order to export the Virgil Key:
- Initialize Virgil SDKThe SDK helps take tedious complexity out of coding by providing APIs for all of Virgil Services.
$virgilApi = VirgilApi::create();
- Alice Generates a Virgil Key
- After Virgil Key generation, developers can export Alice's Virgil Key to a Base64 encoded string
// export a Virgil Card to its string representation.
$exportedAliceCard = $aliceCard->export();
Developers also can extract Public Key from a Private Key using the Virgil CLI.