Skip to content

a-sit-plus/eu-pid-credential-sdjwt

 
 

Repository files navigation

EU PID Credential

A-SIT Plus Official Powered by VC-K GitHub license Kotlin Kotlin Java Maven Central

Use data provided by EU Wallets as a SD-JWT credential, with the help of VC-K.

In ARF 1.8.0 the SD-JWT claim names as well as the value for vct did change (now it is urn:eudi:pid:1), so we decided to create a new credential scheme for VC-K.

For the ISO-compliant version as well as SD-JWT prior to ARF 1.8.0 of this credential see https://github.com/a-sit-plus/eu-pid-credential.

Be sure to call at.asitplus.wallet.eupidsdjwt.Initializer.initWithVCK() first thing in your application.

See PID Rulebook from 2025-10-02 for a list of attributes.

These are implemented for SD-JWT:

  • family_name
  • given_name
  • birthdate
  • birth_family_name
  • birth_given_name
  • place_of_birth.locality
  • place_of_birth.country
  • place_of_birth.region
  • address.formatted
  • address.country
  • address.region
  • address.locality
  • address.postal_code
  • address.street_address
  • address.house_number
  • sex
  • nationalities
  • date_of_issuance
  • date_of_expiry
  • issuing_authority
  • document_number
  • issuing_country
  • issuing_jurisdiction
  • personal_administrative_number
  • picture
  • email
  • phone_number
  • trust_anchor

These attributes are removed from the spec, but kept for backwards compatibility with our implementations:

  • age_equal_or_over.12
  • age_equal_or_over.13
  • age_equal_or_over.14
  • age_equal_or_over.16
  • age_equal_or_over.18
  • age_equal_or_over.21
  • age_equal_or_over.25
  • age_equal_or_over.60
  • age_equal_or_over.62
  • age_equal_or_over.65
  • age_equal_or_over.68
  • age_in_years
  • age_birth_year

Changelog

Release 1.3.0:

  • VC-K 5.9.0
  • Deprecate age attributes
  • Kotlin 2.2.21

Release 1.2.0:

  • VC-K 5.8.0
  • Kotlin 2.2.0
  • kotlinx-datetime 0.7.1

Release 1.1.0:

  • Update to VC-K 5.7.0
  • expiry_date and issuance_date are of type LocalDateOrInstant from vc-k acc. to spec "Date (and if possible time) ..."

Release 1.0.1:

  • Add additional claims age_over_13, age_over_25, age_over_60, age_over_62, age_over_65, age_over_68

Release 1.0.0:

  • Initial release for EU PID acc. to ARF 1.9.0


The Apache License does not apply to the logos, (including the A-SIT logo and the VC-K logo) and the project/module name(s) (even those used only in badges), as these are the sole property of A-SIT/A-SIT Plus GmbH and may not be used in derivative works without explicit permission!

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Kotlin 100.0%