VerificationSession
A serializable object that encapsulates all the information needed to process a verification request, possibly using multiple protocols.
Use VerificationUtil.generateVerificationSessionForDcql method to generate an instance of this class that contains a set of requests. Verification requests can be used to ask for credential presentment. Individual requests can be accessed using find method (or getDcRequest helper method that creates DC API object that can contains requests in several formats). The requests then should be sent to the credential holder, which will generate a single response (also known as "presentation"). Then use an appropriate "processXXXResponse" method to process the response and create a PresentmentRecord. PresentmentRecord then can then be verified either immediately or saved and verified (or re-verified) later and used to extract presented documents and transaction processing results.
Parameters
individual requests that are semantically equivalent, but formatted to be sent through various supported protocols
Types
ISO/IEC 18013 request using W3C DC API.
OpenID4VP request using W3C DC API, generated with OpenID4VP.Version.DRAFT_24. The W3C DC API protocol value is openid4vp regardless of whether the request is signed.
OpenID4VP request using W3C DC API, generated with OpenID4VP.Version.DRAFT_29.
ISO/IEC 18013 proximity request.
Request of ISO/IEC 18013 family type.
Request of OpenID4VP family type.
OpenID4VP request using custom URI scheme.
Describes available verification request types.
Functions
Generate W3C DC API request.
Processes the W3C Digital Credentials API response.
Processes mdoc proximity presentation response.
Processes OpenID4VP response for URI scheme request.
Serializes this object to a string when serialization to a binary cannot be used.