setDefaultAsync

suspend fun setDefaultAsync(credential: Credential?)

Sets the default Credential to provided credential. Unsets the default Credential if credential is null.

Throws

if the underlying AES key generation fails (e.g. StrongBox unavailable on certain OEM devices).