Sharing KeyPair between my apps with one signature without interaction with user (SSO extension)
0
I have several apps of one company. for SSO issue I need same set of KeyPair ( include private key) in each apps. In case of IOS KeyChain gives possibility to share keys between all apps of one certificate without user participation. But in case of android we have to install this KeyChain in way : BufferedInputStream bis = new BufferedInputStream(getAssets().open( PKCS12_FILENAME)); byte keychain = new byte[bis.available()]; bis.read(keychain); Intent installIntent = KeyChain.createInstallIntent(); installIntent.putExtra(KeyChain.EXTRA_PKCS12, keychain); installIntent.putExtra(KeyChain.EXTRA_NAME, DEFAULT_ALIAS); startActivityForResult(installIntent, INSTALL_KEYCHAIN_CODE); System app uses InstallIntent and interact with user to ask pass