Skip to main content

Crate reallyme_openid4vp_dcql

Crate reallyme_openid4vp_dcql 

Source
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§

ClaimQuery
Claims Query object.
ClaimSet
A list of claim identifiers forming one acceptable claims option.
ClaimsPath
Claims path pointer.
CredentialCandidate
Wallet credential candidate supplied to the DCQL engine.
CredentialFormat
Strong credential format identifier.
CredentialMatch
Credentials that satisfy one Credential Query.
CredentialQuery
Credential Query object.
CredentialSelection
One matching credential and its own disclosure selection.
CredentialSetQuery
Credential Set Query.
DcqlError
Error returned by DCQL parsing, validation, and evaluation.
DcqlQuery
A full DCQL query.
Evaluation
Result of evaluating a DCQL query.
EvaluationCredential
Opaque wallet-local credential identifier in evaluation results.
ProcessedClaimValues
JSON values selected by a claims path pointer.
QueryId
Strong identifier for DCQL Credential Queries and claim entries.
TrustedAuthorityQuery
Trusted Authorities Query.

Enums§

ClaimValue
Claim values supported by DCQL value matching.
ClaimsPathComponent
Claims path component.
DcqlErrorReason
Stable DCQL error taxonomy.
SelectedClaims
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.