MTG-KMS KMIP SDK

These instructions are an extension to the main installation instructions found in this page.

MTG-KMS KMIP SDK Installation

The MTG-KMS KMIP SDK is provided as a single zip file. So the main installation step is to unpack this file. The file contains the following:

Component Note

doc/javadoc

The extracted JavaDoc for the Java-API

doc/KMS028-MTG-KMIP-SDK-<X.X.X>-Usage-Guide_v<X.X>.pdf

The SDK Usage Guide in PDF format

doc/KMS028-MTG-KMIP-SDK-<X.X.X>-Usage-Guide_v<X.X>.html

The SDK Usage Guide in HTML format

lib/kmip-sdk-<X.X.X>.jar

Contains the Java-API

lib/kmip-sdk-<X.X.X>-javadoc.jar

Contains the JavaDoc for the Java-API

kmip-sdk-pom.xml

Contains the information to use the API with maven

example/

This directory contains a sample application as source code and a kmip-sdk-example-<X.X.X>.jar file for execution.

To use the API with maven, the jar file has to be installed in the local maven repository, or it can be deployed to a repository server. To make this easier, a pom file with the version and dependency information is provided.

  • install locally
    mvn install:install-file -DpomFile=kmip-sdk-pom.xml -Dfile=kmip-sdk-<X.X.X>.jar -Djavadoc=kmip-sdk-<X.X.X>-javadoc.jar -Dversion=<X.X.X>

  • deploy to a maven repository server
    mvn deploy:deploy-file -DpomFile=kmip-sdk-pom.xml -Dfile=kmip-sdk-<X.X.X>.jar -Djavadoc=kmip-sdk-<X.X.X>-javadoc.jar -Dversion=<X.X.X> -Durl=<url-repository>

Build Example Project

In order to build the provided example run:

  • mvn clean install -Dversion=<X.X.X>

-Dversion=<X.X.X> must match with the SDK version number!