The source code for the JNI dlls are included in the USK and USK4j folders.
If you store data on a SmartDongle you may wish to encrypt the data transmitted over the USB bus.
Examples 3 below use AES encryption. A developer could use example3a.c as a utility to write passwords, serial numbers, etc to a SmartDongle that can be read back and used in an application as demonstrated by example3b.c
Example 4 below takes advantage of Java Object Serialization.