Install & initialize SDK on the Server Side
The next step towards encrypted storage is to install the Virgil SDKThe SDK helps take tedious complexity out of coding by providing APIs for all of Virgil Services. in your language, on your server side.
Developers must install and initialize the Virgil SDK on the server side device to sign a user's Virgil CardsEach Card contains attributes associated with the holder of the Private key and are used to prove the ownership of a Public key more .... Thus creating a trusted relationship between the Application and end users.
Install the Virgil SDK with the getting started guide.
Don't see your language? Virgil is also available as a REST API.
The next step is to initialize the SDK with your application's credentialsA necessary app-attribute that authorizes a developer to use the application.. If you have not created a Developer accountDevelopers will need to register their application at Virgil Services to use Virgil Security infrastructure create account yet, you can do so now.
Next, we need to initialize the server side SDK. To do so, we need to pass in a few more details than on the client side, including the App IDThis is an identifier, which uniquely identifies an Application at Virgil Services more ..., App KeyThis is a secure Private Key for your application that you receive during registration at Virgil Services more ..., App Key passwordA password set for an App Key that you receive during application registration at Virgil Services you created on sign up.
AppCredentials credentials = new AppCredentials();
VirgilApiContext context = new VirgilApiContext("[YOUR_ACCESS_TOKEN_HERE]");
VirgilApi virgil = new VirgilApiImpl(context);
Once we have set up the Virgil SDK on the server side, we can publish a user's Virgil Card.