This guide shows how to export a Virgil CardEach Card contains attributes associated with the holder of the Private key and are used to prove the ownership of a Public key more ... to the string representation.
For original information about the Virgil Card check out our Virgil Card Service endpoint here.
Set up your project environment before you begin to export a Virgil Card, with the getting started guide.
In order to export a Virgil Card, 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]");
- Use the code below to export the Virgil Card to its string representation.
// export a Virgil Card to string
String exportedAliceCard = aliceCard.export();
The same mechanism works for Global Virgil CardGlobal Cards are created with a unique validation token received after verification through the Virgil Identity Service more ....