Skip to content

a-sit-plus/pupilidlib

Repository files navigation

PupilIdLib

GitHub license Kotlin Kotlin Java

This is a Kotlin Multiplatform library implementing features of the Austrian electronic pupil ID (edu.digicard) as W3C Verifiable Credentials. It targets iOS and Android on the client side, as well as the JVM on the back-end. It also contains JVM-only data classes to be consumed by an OpenAPI generator (i.e. Swagger)

The business logic is written in 100% pure Kotlin and relies heavily on the KMM VC library.

Implemented features:

  • PupilIdCredential as a W3C VC to store all properties
  • Initialization of needed classes wtih vclib (call Initializer.initWithVcLib() in your code)
  • Creation of a device Binding (i.e. certified holder key for the wallet)
  • QR code encoding and parsing of credentials, including splitting of large credentials into chunks of data

Some bits and pieces are rather enterprise-y and read very much like traditional Java code. The plain and simple reason for this is the fact that the code is used in production, which is why breaking API and ABI changes are costly, hence the separation between KMM VC library and PupilIdLib.

Check the testcases for examples on how to use it.

Contributing

External contributions are greatly appreciated! Be sure to observe the contribution guidelines (see CONTRIBUTING.md). In particular, external contributions to this project are subject to the A-SIT Plus Contributor License Agreement (see also CONTRIBUTING.md).

About

KMM library for the Austrian electronic pupil ID (edu.digicard)

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors