Relative Content

Tag Archive for androidandroid-ndk

Secure socket communication between Android apps

I have an standard Android app A and a second Android app B which has a shared library (.so/NDK).
I want to setup a secure communication protocol between the two of them. I thought about using a simple localhost socket and use mTLS certificates to secure the channel.
Is there a way to store certificates safely in the Android system so that nobody else can read it? I’ve read about key-attestation but do not have experience with that.