Skip to content

ehn-dcc-development/ValidationCore

Repository files navigation

ValidationCore

Core functionality for validating EHN health certificates from QR codes. Suitable QR codes can be generated using https://dgc.a-sit.at/ehn/

Implements a very basic validation chain:

  1. Decode Base45-encoded QR code
  2. Remove scheme prefix
  3. Decompress with ZLib
  4. Verify COSE signature

Demo Application Code

A demo application using this package can be found at hcert-app-swift

Dependencies

The core functionality depends on https://github.com/ehn-dcc-development/base45-swift, https://github.com/unrelentingtech/SwiftCBOR and https://github.com/1024jp/GzipSwift. All dependencies are resolved as Swift Packages.

About

Swift implementation of the validation chain

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages