OID4VP DCQL + direct_post.jwt
How does a wallet return an encrypted OID4VP response with direct_post.jwt?
Verifier creates a signed authorization request and publishes request_uri. Wallet fetches it, encrypts the Authorization Response (vp_token and state) as an unsigned JWE to the Verifier's ephemeral ECDH-ES key, and posts it to response_uri. Verifier decrypts and validates (OID4VP §5, §8.3, §8.3.1).
Presentation Verificationdirect_post.jwtEncrypted Response
Sequence Diagram
Click any step for details
Request
Response
Redirect
Internal
Step-by-Step Breakdown
1
Create Signed Request Object
Verifier → Wallet
2
Fetch Request Object
Wallet → Verifier
3
Wallet Encrypted Response
Wallet → Verifier
4
Decrypt + Validate + Policy Decision
Verifier → Verifier
Token Inspector
Specs for this flow
Sections of the protocol that normatively define this flow, plus the security considerations that apply to it.