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:
- Decode Base45-encoded QR code
- Remove scheme prefix
- Decompress with ZLib
- Verify COSE signature
A demo application using this package can be found at hcert-app-swift
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.