Credential Representations
Created by: nodh
This series of commits lifts the 1-1 relation between credential and its format. Now, any credential can be represented in any format (that is SD-JWT, Plain JWT, ISO MDOC), when supported by the implementation of the IssuerCredentialDataProvider
.
As a consequence, the Wallet may request the same credential type from the backend in all three representations and store them. When a Verifier later on requests the credential type in a specific representation, the Wallet can create a presentation in the requested format.
In other news, the implementation of a custom CredentialScheme
got a bit easier, as the getClaims()
method from CredenitalSubject
has been dropped (introduced in 3.1.0).
Please note that this applies to the OpenId protocol implementations only, as upgrading the ARIES protocols seems not worth the effort.