Skip to content

Add support for arbitrary doc types - #137

Open
sbihel wants to merge 1 commit into
acc-1912-prepfrom
acc-1912-certificate-profiles
Open

Add support for arbitrary doc types#137
sbihel wants to merge 1 commit into
acc-1912-prepfrom
acc-1912-certificate-profiles

Conversation

@sbihel

@sbihel sbihel commented Aug 21, 2026

Copy link
Copy Markdown
Member

It required addressing the following problems:

  1. Some checks were hardcoded for mDLs (e.g. expecting the mDL doctype
    in a presentation response). This is addressed by adding more
    validation options through MdocProfile.
  2. The 18013-5 certificates profile is only normative for mDLs. This is
    addressed by introducing a CertificateProfile trait and generics
    (like we do already for e.g. revocation fetching).

And to make sure the new API fits the requirement of existing doc types,
I have added native support for ISO PIDs, EUDI PIDs, and EU Age
Verification doc types.

REF ACC-1912

It required addressing the following problems:
1. Some checks were hardcoded for mDLs (e.g. expecting the mDL doctype
   in a presentation response). This is addressed by adding more
   validation options through `MdocProfile`.
2. The 18013-5 certificates profile is only normative for mDLs. This is
   addressed by introducing a `CertificateProfile` trait and generics
   (like we do already for e.g. revocation fetching).

And to make sure the new API fits the requirement of existing doc types,
I have added native support for ISO PIDs, EUDI PIDs, and EU Age
Verification doc types.

REF ACC-1912
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant