wolfCrypt JNI wrapper and JCE provider
 
 
 
 
Go to file
Moisés Guimarães f95cd413be adds ecc_import_x963() to Java API 2015-10-26 21:10:29 -03:00
jni adds ecc_import_x963() to Java API 2015-10-26 21:10:29 -03:00
src adds ecc_import_x963() to Java API 2015-10-26 21:10:29 -03:00
AUTHORS move wolfcrypt-jni back into directory of same name 2015-04-01 14:56:40 -06:00
COPYING move wolfcrypt-jni back into directory of same name 2015-04-01 14:56:40 -06:00
LICENSING move wolfcrypt-jni back into directory of same name 2015-04-01 14:56:40 -06:00
README.md Update wolfcrypt-jni README.md 2015-07-06 10:33:57 -06:00
build.xml Android: add WolfCryptError class to wolfcrypt-jni, wraps error-crypt.h 2015-04-16 10:12:16 -06:00
makefile Android: add WolfCryptError class to wolfcrypt-jni, wraps error-crypt.h 2015-04-16 10:12:16 -06:00
makefile.linux adds releaseNativeStruct() function and new makefiles for linux and macosx. 2015-10-09 16:52:16 -03:00
makefile.macosx adds releaseNativeStruct() function and new makefiles for linux and macosx. 2015-10-09 16:52:16 -03:00

README.md

wolfCrypt JNI

This package provides a Java, JNI-based interface to the native wolfCrypt FIPS API.

Compiling


To compile the wolfcrypt-jni wrapper:

  1. Compile and install a wolfSSL FIPS release (wolfssl-x.x.x-commercial-fips):
$ cd wolfssl-x.x.x-commercial-fips
$ ./configure --enable-fips --enable-keygen
$ make check
$ sudo make install
  1. Compile the native wolfCrypt JNI object files:
$ cd wolfcrypt-jni
$ make
  1. Compile the wolfCrypt JNI Java sources files, from the wolfcrypt-jni directory:
$ ant
$ ant test

API Javadocs


After the "ant" command has been executed, this will generate a set of Javadocs under the wolfcrypt-jni/docs directory. To view the root document, open the following file in a web browser:

wolfcrypt-jni/docs/index.html

Example / Test Code


The JUnit test code can act as a good usage example of the wolfCrypt JNI API. This test code is run automatically when "ant test" is executed from the root wolfcrypt-jni directory. The test source code is located at:

wolfcrypt-jni/src/test/com/wolfssl/wolfcrypt