The eudi-lib-jvm-presentation-exchange-kt
is a kotlin library that implements the functionality as described in
Presentation Exchange v2.
This is a specification that defines:
- A way for the
Verifier
to describe proof requirements in terms ofPresentationDefintion
object - A way for the
Holder
to describe submissions of proofs that align with those requirements in terms of aPresentationSubmission
The use of this specification is mandatory by OpenID4VP
The library offers the following functionality:
-
As a
Verifier
be able to- produce a valid
PresentationDefinition
in order to be communicated to aHolder
using a protocol likeOpenID4VP
- decide whether a given
PresentationSubmission
satisfies a specificPresentationDefinition
- produce a valid
-
As a
Holder/Wallet
be able to- parse/validate a
PresentationDefition
- to check if a claim stored in the wallet satisfies a
PresentationDefinition
- to produce a
PresentationSubmission
given a validPresentationDefintion
and a matchingClaim
- parse/validate a
The table bellow summarizes the set of optional features defined by Presentation Exchange v2 which are supported by the library. Currently, no optional features are being supported, except retention
Feature | Status |
---|---|
Submission requirement | ❌ |
Predicate | ❌ |
Relational constraint | ❌ |
Credential status constraint | ❌ |
JSON-LD framing | ❌ |
Retention | ✅ |