send Response
Sends a credential presentation response to the verifier compliant with the ISO 18013-7 and OpenID4VP.
The function will automatically match the PresentationDefinition from the Authorisation request to the selected MobileCredentials via their doc types. Only the elements requested for each mobile credential will be sent in the response.
Any InputDescriptor where a MobileCredential of corresponding doc type wasn't supplied will result in a DocumentError being sent back to the verifier as per 18013-5. Any elements requested for a specific MobileCredential that are unavailable will result in an ElementError being sent back to the verifier as per 18013-5.
This function requires user authentication when the user has not been authenticated within the last 20 seconds. If a suitable user authentication mechanism is not setup on the device OR authentication fails for any reason, suitable errors will be thrown.
Return
optional redirect URI string after sending the response to the verifier.
Parameters
String array of credential Ids used to retrieve mobile credentials from storage and included in the response to the verifier.
An Android Activity from where this function is called. The Activity context is used for biometric user authentication.