This example demonstrates how a Java program can activate an existing key on a KMIP server.
Activation is required to use a key if encryption is done on a KMIP server. The following API functions are used: initializeLibrary, open, createSymmetricKey, activate, getAttribute, destroy, revoke, close, and freeLibrary.