impierce / openid4vc

Rust implementation of the OpenID4VC standards. The library will offer implementations for SIOPv2, OpenID4VP and OpenID4VCI.
https://www.impierce.com
Apache License 2.0
28 stars 3 forks source link

Add VP Token validation #31

Open nanderstabel opened 1 year ago

nanderstabel commented 1 year ago

Description

Support the validation of VP Tokens as described here: https://openid.bitbucket.io/connect/openid-4-verifiable-presentations-1_0.html#name-vp-token-validation

Some of the validation rules are described in the DIF Presentation Exchange spec: https://identity.foundation/presentation-exchange/spec/v2.0.0/#presentation-submission

Motivation

Crucial step in the OID4VP flows.

Resources

https://openid.bitbucket.io/connect/openid-4-verifiable-presentations-1_0.html#name-vp-token-validation https://identity.foundation/presentation-exchange/spec/v2.0.0/#presentation-submission

To-do List