Presentation
Answers one OpenID4VP request: show verifier, queries and credentialSets, choose a selection (or start from defaultSelection), preview it, then respond or decline. The wallet presents exactly the selection, after checking it answers the request (WalletException.Code.invalidSelection otherwise).
Types
One of the request's sets of alternatives: each option is the query IDs that together answer it, most preferred first. A required set must be answered by one option.
What a selection would disclose from one credential.
One of the request's credential queries, with the credentials that can answer it: none when nothing held can.
A Verifier's registration with a registrar: who it is and what it may request, as the registrar attests.
Properties
The request's sets of alternatives; none means every query must be answered.
Whether some credential can answer some query: if not, decline.
The request's credential queries, in its order.
Who is asking.
Functions
Tells the Verifier the holder declined.
The selection the wallet would make itself, for an app with no policy of its own, or to start from: the first answerable option of each credential set, and each query's first credential (all of them when it takes several). Throws noMatchingCredential when the request can't be answered.
Presents exactly selection: holder keys sign now, so a key store requiring the holder prompts.