All.I am working on an Android project. I need to create an RSA key pair, then use them to communicate with others. I need to keep the private key and public key in a safe place, and I will find a KeyStore that can be used.
I see that KeyStore can store KeyStore.PrivateKeyEntry, but it needs a chain of Certificate []. I tried to create it, but could not ...
Is it possible to insert the example code used to store the private key and public key.
Many thanks!
wayne_bai
source share