This is a Java library to interface with the eHSM and MIRkey Hardware Security Modules
Maven dependency
        <dependency>
            <groupId>com.ellipticsecure</groupId>
            <artifactId>ehsm-java</artifactId>
            <version>1.0.6</version>
        </dependency> 
Gradle dependency
        repositories {
            mavenCentral()
        }
        
        dependencies {
            implementation('com.ellipticsecure:ehsm-java')
        } 
Prerequisites:
- Java 8 or later.
- The ehsm shared library (available from here.)
Note: You may need to set the EHSM_LIBRARY environment variable if your libehsm.so/dylib/dll is not in a standard location.
Build instructions (pre-built libraries are available from Maven Central):
-  
  mvn package 
See the integration test, LibraryTestIT for some code examples as well as these projects:
 JarCasting
 JarCasting