Introduction
I am currently working on a solution that will use the new Android Keystore features (starting with Marshmallow, API level 23). My application uses both Java and C ++ (NDK), and I have a critical operation that must be executed from native code.
I can use the new Keystore from Java correctly.
Unfortunately, the Android C ++ source files are not documented, and I tried to learn it.
Question
I would like to perform an operation with both Java and C ++. The only dynamic library that I could use the interface is IKeystoreService and with the corresponding library / system / lib / libkeystore _binder.so.
I was able to include headers and a library and compile it. But since the only connection point I can use is the link between Java and C ++ IKeystoreService (s), I cannot find what data I have to use in order to get simple AES encryption (for example).
Does anyone have an understanding?
thank
source
share