#presentation #decentralized-identity #exchange #open-id #oid4vc #dif

dif-presentation-exchange

Rust implementation of the DIF Presentation Exchange specification

2 unstable releases

0.2.0 Mar 18, 2024
0.1.0 Jun 12, 2023

#4 in #openid

Download history 5/week @ 2024-02-16 7/week @ 2024-02-23 3/week @ 2024-03-01 3/week @ 2024-03-08 104/week @ 2024-03-15 18/week @ 2024-03-22 37/week @ 2024-03-29 13/week @ 2024-04-05

56 downloads per month
Used in oid4vc

Apache-2.0

39KB
791 lines

DIF Presentation Exchange 2.0.0

This is Rust a library for the DIF Presentation Exchange 2.0.0 specification developed by the Decentralized Identity Foundation.

Description

This specification addresses the need for a standardized way to demand and submit proofs in identity systems. It introduces a Presentation Definition format for Verifiers to express proof requirements and a Presentation Submission format for Holders to describe proof submissions.

Key Points:

  • The specification is format-agnostic, supporting various Claim formats as long as they can be serialized as JSON.
  • It is also transport-envelope agnostic, allowing the conveyance of data via different methods like OpenID4VP, OpenID Connect, DIDComm, or Credential Handler API.
  • The goal is to promote unified procedures and reduce redundant code.
  • The specification does not define transport protocols or specific endpoints but encourages their use in other projects that define such mechanisms.

Dependencies

~12–20MB
~311K SLoC