Expand description
Wallet-side OpenID4VP request verification and response construction boundary.
Structs§
- Bounded
X509 Certificate Chain - Structurally validated, bounded
x5ccertificate chain in leaf-first order. - Request
Transport Policy - Policy for pure transport parsing and pre-verification size checks.
- Transaction
Data Presentation Verification Context - Exact proof-verification context for one transaction-bound presentation.
- Trusted
X509 Request Object Signer - Trusted result returned by the host’s Request Object certificate evaluator.
- Unsigned
DcApi Time Hint - Unauthenticated timing parameters supplied by an unsigned DC API requester.
- Verified
Client Identifier Binding - Atomic trust-adapter receipt binding a DID or federation subject to the exact Request Object verification key.
- Verified
Client Metadata Reference - Fresh, trusted verifier metadata resolved outside the pure wallet parser.
- Verified
Platform Origin - Browser-platform receipt for the origin invoking the Digital Credentials API.
- Verified
Request Object - Atomic output from verification of one exact signed Request Object.
- Verified
Unsigned DcApi Request - Opaque receipt for an unsigned request delivered by the browser Digital Credentials API security boundary.
- Verified
Verifier Attestation - Wallet-trusted verifier attestation evidence extracted from the Request Object.
- Verified
Wallet Request - Verified signed wallet request with parsed OpenID4VP claims.
- Verified
X509 Certificate Binding - Opaque signer-bound receipt created only by the Request Object pipeline.
- Verified
X509 Request Signer - Authenticated request signer provenance from the verified X.509 path.
- Wallet
Client Identifier Policy - Wallet capability policy for final-spec Client Identifier Prefix modes.
- Wallet
Error - Wallet-side OpenID4VP error.
- Wallet
Prepared Persona Request - One selected claim and the exact live transcript to be signed by the prepared public persona or the reserved one-time private token key.
- Wallet
Request Trust Evidence - Host-supplied trust evidence for wallet Request Object validation.
- Wallet
Selected Presentation - One selected presentation for one verified DCQL Credential Query id.
- Wallet
Selected Presentation Set - Selected presentations for one verified authorization request.
- Wallet
Transaction Data Policy - Wallet allowlist for application-defined transaction-data types.
- X509
Trust Decision Context - Non-PII evidence identifying the trust policy decision used for a signer.
Enums§
- Authorization
Request Transport - Wallet authorization request transport classification.
- Wallet
Error Reason - Stable wallet error taxonomy.
- Wallet
Invocation Context - Authenticated transport context for signed wallet Request Objects.
- X509
Request Object Trust Decision - Definitive or indeterminate X.509 trust result from the host evaluator.
- X509
Request Object Trust Purpose - Trust purpose required for OpenID4VP X.509 Request Object signers.
- X509
Trust Indeterminate Reason - Fixed reasons for indeterminate X.509 trust.
- X509
Trust Rejection Reason - Fixed reasons for definitive X.509 rejection.
Constants§
- MAX_
MULTISIGNED_ REQUEST_ OBJECT_ BYTES - Maximum accepted JWS JSON General Serialization input.
- MAX_
MULTISIGNED_ REQUEST_ OBJECT_ SIGNATURES - Maximum signatures accepted from one JWS JSON General Serialization input.
- MAX_
X509_ CERTIFICATE_ DER_ BYTES - Maximum DER length of one certificate in a Request Object
x5cchain. - MAX_
X509_ CHAIN_ CERTIFICATES - Maximum number of certificates permitted in a Request Object
x5cchain. - MAX_
X509_ CHAIN_ DER_ BYTES - Maximum aggregate DER length of a Request Object
x5cchain. - MAX_
X509_ DNS_ SAN_ BYTES - Maximum aggregate encoded length of retained DNS SAN identities. This independent cap prevents future changes from making the trust boundary unbounded.
- MAX_
X509_ DNS_ SAN_ NAMES - Maximum number of DNS SAN identities retained from the leaf certificate.
Traits§
- Multi
Signed Request Object Signature Verifier - Verifier for one signature selected from a multi-signed Request Object.
- Request
Object Signature Verifier - Wallet-side Request Object verifier.
- Transaction
Data Presentation Verifier - Trusted format adapter that authenticates transaction-data proof binding.
- Wallet
Authorization Request - Opaque authorization-request receipt accepted by wallet disclosure APIs.
- Wallet
Common Credential Root Presentation - Validated nine-proof common-credential-root presentation exposed to OpenID4VP.
- Wallet
Common Credential Root Proof - One validated common-credential-root proof package exposed to the wallet wire adapter.
- ZkPersona
Credential Evidence Presentation Provider - Application provider for a selected prepared persona credential.
Functions§
- build_
authorization_ response - Build a protocol-valid response from presentations selected for a verified request.
- parse_
authorization_ request_ transport - Parse an OpenID4VP authorization request into a transport classification.
- prepare_
consent_ data - Prepare wallet consent data by evaluating the request DCQL query.
- prepare_
zk_ prepared_ persona_ request - Project a signed or browser-authenticated OpenID4VP request into the exact prepared-persona claim and live-authentication inputs.
- prepare_
zk_ prepared_ persona_ response - Produce a prepared persona response from an authenticated OpenID4VP request.
- prepare_
zk_ prepared_ persona_ unsigned_ dc_ api_ request - Project a browser-authenticated unsigned DC API request into the prepared transcript. Its time hint is untrusted; the verifier must match it to its independently retained request session before accepting the presentation.
- prepare_
zk_ prepared_ persona_ unsigned_ dc_ api_ response - Produce an unsigned DC API prepared response using the browser-origin security context and a verifier-retained time hint.
- prepare_
zk_ presentation - Validate an externally produced ZK envelope for inclusion in a response.
- prepare_
zk_ presentation_ from_ bundle - Encode an API-owned proof bundle for one authenticated DCQL request.
- prepare_
zk_ presentation_ from_ common_ credential_ root - Encode a validated common-credential-root presentation for one authenticated DCQL request.
- prepare_
zk_ presentation_ from_ status_ qualified_ bundle - Encode a direct/private claim together with issuer-signed validity and authenticated current-status evidence for the selected credential.
- validate_
client_ metadata_ reference_ binding - Validate metadata-by-reference evidence against a Request Object.
- validate_
response_ endpoint_ binding - Validate X.509 client identity and wallet-side response endpoint bindings.
- validate_
transport_ client_ id_ binding - Enforce that a transport-level
client_idmatches signed Request Object claims. - validate_
unsigned_ dc_ api_ request - Validate an unsigned Digital Credentials API request with fail-closed defaults.
- validate_
unsigned_ dc_ api_ request_ with_ transaction_ data_ policy - Validate an unsigned DC API request with supported transaction-data types.
- validate_
verifier_ attestation_ binding - Validate request claims against previously verified verifier attestation evidence.
- validate_
wallet_ request_ object - Validate wallet-enforced OpenID4VP Request Object claims.
- validate_
wallet_ request_ object_ with_ evidence - Validate wallet-enforced OpenID4VP Request Object claims with trust evidence.
- validate_
wallet_ request_ object_ with_ evidence_ and_ transaction_ data_ policy - Validate wallet claims, trust evidence, and application transaction semantics.
- validate_
wallet_ request_ object_ with_ transaction_ data_ policy - Validate a Request Object with an explicit transaction-data allowlist.
- validate_
wallet_ request_ object_ with_ trust - Validate wallet-enforced OpenID4VP Request Object claims with trust evidence.
- verify_
multisigned_ request_ object - Verify an OpenID4VP multi-signed Request Object.
- verify_
multisigned_ request_ object_ with_ transaction_ data_ policy - Verify a multi-signed Request Object with an explicit transaction-data allowlist.
- verify_
request_ transport - Verify a by-value Request Object transport and enforce transport bindings.
- verify_
request_ transport_ with_ transaction_ data_ policy - Verify request transport bindings with an explicit transaction-data allowlist.
- verify_
signed_ request_ object - Verify and validate a signed Request Object for wallet processing.
- verify_
signed_ request_ object_ with_ transaction_ data_ policy - Verify a signed Request Object with an explicit transaction-data allowlist.