RutokenJavaSample is a sample project to access Rutoken through rtPKCS11ECP library using JNA.

How to build

To build RutokenJavaSample you have to get Android SDK and Gradle installed. Run:
~/RutokenJavaSample$> gradle build
or use "File">"Import Project...": "~/RutokenJavaSample/build.gradle" option of Android SDK.
Note, that rtPKCS11ECP native library is to be set.

Setting rtPKCS11ECP native library.

To set rtPKCS11ECP library you are to place it to ~/RutokenJavaSample/app/libs/librtpkcs11ecp.so.

Updating JNA binaries

To update JNA you are to replace ~/RutokenJavaSample/app/libs/jna.jar and ~/RutokenJavaSample/app/libs/android-arm.jar taken from dist directory of JNA distribution (https://github.com/twall/jna/releases).

Notice
This product includes software developed by IAIK of Graz University of Technology.

Copyright Aktiv Co. 2013.
