importIdentity

fun importIdentity(data: ByteArray, password: CharArray?, alias: String): TLSIdentity(source)

Imports and creates an identity from the given PKCS12 Data. The imported identity will be stored in the Keychain with the given alias.