#presentation #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

#3 in #presentation

Download history 1/week @ 2024-02-13 8/week @ 2024-02-20 6/week @ 2024-02-27 70/week @ 2024-03-12 55/week @ 2024-03-19 9/week @ 2024-03-26 41/week @ 2024-04-02

170 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–22MB
~321K SLoC