sendCredentials

abstract suspend fun sendCredentials(credentialRequests: List<CredentialRequest>, keysAssertion: DeviceAssertion?): List<KeyPossessionChallenge>

Sends credential requests to the issuer.

If this succeeds, the issuer will schedule generation of data for each credential It is permissible for the application to send CredentialRequests that have already been sent.

Parameters

credentialRequests

a list of credentials requests, each representing a request for a issuer data generation along with the format requested.

keysAssertion

DeviceAssertion that wraps AssertionBindingKeys, only required if CredentialConfiguration.keyAssertionRequired is true

Throws

if the issuer rejects the one or more of the requests.