SlunkCrypt Java Wrapper

This package exposes the functionality of the SlunkCrypt library to to Java developers.

Please see the {@see com.muldersoft.slunkcrypt.SlunkCrypt} class for details!

Dependencies

The SlunkCrypt Java wrapper requires Java Native Access (JNA), version 5.14.x or later, as a runtime dependency.

Build Instructions

First the "native" SlunkCrypt library needs to be built, if not done yet:

$ cd /home/JohnnyBeSlunk/dev/SlunkCrypt
$ make -B SHARED=1

Now build the SlunkCrypt Java wrapper package:

$ cd binding/java
$ ant

Prerequisites

Apache Ant and Apache Ivy are required for buildig the SlunkCrypt Java wrapper from the sources using the provided build.xml file.

Note: The file ivy.jar should be located in the ANT_HOME/lib directory.

Unit Tests

In order to run the unit tests, please type:
$ export ANT_OPTS=-Djna.library.path=$PWD/../../libslunkcrypt/lib
$ ant test

Prerequisites

The JUnitLauncher (JUnit 5) is required to run the unit tests. All other required JUnit 5 libraries will be fetched automatically by Ivy.

Note: The file ant-junitlauncher.jar should be located in the ANT_HOME/lib directory.