AttestationProvider

Functions

Link copied to clipboard

Clears in-memory and on-device attestation state so a subsequent full attestation can succeed. Invoked when the stored key is no longer valid on Link or locally.

Link copied to clipboard
abstract suspend fun fetchNonce(keyId: String? = null): ByteArray

Returns the persisted key identifier if there is an attested key pair persisted in the secure enclave of the device.

Link copied to clipboard
abstract suspend fun generateAssertionObject(keyId: String, nonce: ByteArray): AssertionObject?
Link copied to clipboard
Link copied to clipboard
abstract suspend fun getStoredKeyRecord(): String?