Companion

object Companion

Keystore lifecycle: generate, load, delete.

Functions

Link copied to clipboard
fun delete(alias: String)

Removes the key under alias from the keystore.

Link copied to clipboard
fun generate(alias: String, requireStrongBox: Boolean = false): AndroidKeystoreSigningDriver

Generates a fresh keystore-resident P-256 key under alias, replacing any existing key with that alias.

Link copied to clipboard

The existing key under alias, or null if none.