#decentralized-identity #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

#435 in Authentication

35 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

~11–19MB
~284K SLoC