Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
JNI KMIP Example 14 - Streaming 2 Cryptographic Operations

This example demonstrates how a Java program uses streaming encryption / decryption KMIP operations.

This example shows that return data is not always available from a call to encryptInit/encryptUpdate but depends on the amount of data given to the server. The following API functions are used: initializeLibrary, open, createSymmetricKey, activate, encryptInit, encryptUpdate, encryptFinal, decryptInit, decryptUpdate, decryptFinal, revoke, destroy, close, and freeLibrary.