generate

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.

Parameters

requireStrongBox

fail with StrongBoxUnavailableException instead of falling back to the TEE.