This example demonstrates how a Java program can save a java generated key onto a KMIP server.
This example uses both a symmetric key and a public/private key pair. The following API functions are used: initializeLibrary, open, registerSymmetricKey, getSymmetricKey, registerPublicKey, registerPrivateKey, getPublicKey, getPrivateKey, destroy, close, and freeLibrary