Android JNI library for keys storage