JNI KMIP Examples
Several modifications are required to make this example run on your machine:
-
In each example, change the server fully qualiified domain name for the KMIP server to connect to
kc.open("kmiptest01.p6r.com", null);
to your own server you wish to test against.
-
Make sure that P6R's JNI implementation (i.e., p6javakmip.dll for Windows or libp6javakmip.so for Linux) is in the Java Classpath.
-
Remember that you have to use the p6kmiptool to create the required P6R keystore that holds all KMIP server TLS crendentials.