This example demonstrates how a Java program can get an existing key off of a KMIP server wrapped (i.e., encrypted) in another key (i.e., a Key Encrypting Key [KEK]).
The following API functions are used: initializeLibrary, open, createSymmetricKey, activate, getWrappedKey, revoke, destroy, close, and freeLibrary.