This example demonstrates a specific use case: search of a key on a KMIP server with a specific 'Name' attribute.
If the key is not found then create it. Also this example uses a previously created / configured keystore (e.g., one created by example 16. The use of an existing keystore is what production code would do.