This example demonstrates how a Java program can add / modify / delete attributes on an existing KMIP object (e.g., a symmetric key).
This example demonstrates how multi-instance attribute values can be accesses. Also this example demonstrates how to get the values of all visible attributes associated to a KMIP object. The following API functions are used: initializeLibrary, open, createSymmetricKey, getAttribute, addTextAttribute, modifyTextAttribute, deleteAttribute, addTimeAttribute, modifyTimeAttribute, destroy, close, and freeLibrary.