diggsweden / dgc-java

Java implementation of the EU eHealth Digital Green Certificates.
MIT License
27 stars 25 forks source link

Implementation for CertificateProvider missing / documentation where to get the correct certificates is missing #78

Closed corona-maps closed 3 years ago

corona-maps commented 3 years ago

The DefaultDGCDecoder (https://diggsweden.github.io/dgc-java/javadoc/dgc-create-validate/se/digg/dgc/service/impl/DefaultDGCDecoder.html) needs a CertificateProvider. This, however, is only given as interface. An actual implementation which returns the needed certificates for the countries and most importantly documentation where to get the certificates is missing.

martin-lindstrom commented 3 years ago

How to download/get certificates is country-specific and thus there is no implementation of CertificateProvider supplied. This is per design. You'll have to implement a provider that is according to your country's way of downloading certificates.