Expand description
DCQL query model, validation, and wallet-side evaluation.
The crate intentionally has no OpenID4VP transport dependencies. It models the OpenID4VP 1.0 final DCQL structures and evaluates them against an injected inventory of wallet credentials.
Serde implementations in this crate exist only for bounded internal protocol parsing. They are not stable SDK DTO contracts. Cross-language and SDK boundaries must carry DCQL as validated canonical JSON bytes inside the generated OpenID4VP protobuf contract.
Structs§
- Claim
Query - Claims Query object.
- Claim
Set - A list of claim identifiers forming one acceptable claims option.
- Claims
Path - Claims path pointer.
- Credential
Candidate - Wallet credential candidate supplied to the DCQL engine.
- Credential
Format - Strong credential format identifier.
- Credential
Match - Credentials that satisfy one Credential Query.
- Credential
Query - Credential Query object.
- Credential
Selection - One matching credential and its own disclosure selection.
- Credential
SetQuery - Credential Set Query.
- Dcql
Error - Error returned by DCQL parsing, validation, and evaluation.
- Dcql
Query - A full DCQL query.
- Evaluation
- Result of evaluating a DCQL query.
- Evaluation
Credential - Opaque wallet-local credential identifier in evaluation results.
- Processed
Claim Values - JSON values selected by a claims path pointer.
- QueryId
- Strong identifier for DCQL Credential Queries and claim entries.
- Trusted
Authority Query - Trusted Authorities Query.
Enums§
- Claim
Value - Claim values supported by DCQL value matching.
- Claims
Path Component - Claims path component.
- Dcql
Error Reason - Stable DCQL error taxonomy.
- Selected
Claims - Disclosure semantics selected while evaluating one credential.
Constants§
- MAX_
DCQL_ JSON_ BYTES - Maximum encoded DCQL JSON accepted by the public parser.
Functions§
- credential_
satisfies_ query - Determine whether one already-validated credential satisfies one query.
- evaluate_
query - Evaluate a validated DCQL query against wallet credential candidates.
- process_
json_ claims_ path - Process a DCQL claims path pointer against a JSON credential.
- validate_
query - Validate a parsed DCQL query.
- validate_
query_ selection - Validate a selected set of Credential Query ids against DCQL requirements.