KeyStoreUtils

Key Store Utilities

Functions

Link copied to clipboard
fun importEntry(storeType: String, storeStream: InputStream, storePassword: CharArray?, extAlias: String, extKeyPass: CharArray?, newAlias: String)

Imports the key entry including public key, private key, and certificates from the given KeyStore input stream into the Android KeyStore. The imported key entry can be used as a TLSIdentity by calling TLSIdentity.get(String alias) method.