generateKey

abstract fun generateKey(security: Credential.Security)

Generate the key with the specified Credential.Security. If a key with Credential.Security.keyAlias already exists, do nothing.

Parameters

security

the Credential.Security for creating the key. A key with Credential.Security.keyAlias must already exist or be created.