testKeyAttestationsAndMlDsaSigning

@RequiresApi(value = 28)
suspend fun testKeyAttestationsAndMlDsaSigning(useStrongBox: Boolean)

Tests if the implementation properly supports key attestations and ML-DSA signatures with ML-DSA-65.

Parameters

useStrongBox

false to test normal TEE implementation, true to test StrongBox.

Throws

if useStrongBox is true but strongBoxMlDsaSupported is false, or if useStrongBox is false but mlDsaSupported is false.

if one of the checks fail.