dgc-java
dgc-java copied to clipboard
Java implementation of the EU eHealth Digital Green Certificates.
DGCBarcodeDecoder fails to decode a valid test result which is created using "1.0.0" schema. In particular, field "dr" (Date/Time of Test Result) was valid, but optional field in schema "1.0.0",...
In the java docs https://diggsweden.github.io/dgc-java/javadoc/dgc-create-validate/se/digg/dgc/service/DGCDecoder.html The links to the DigitalCovidCertificate class (https://github.com/diggsweden/dgc-java/apidocs/se/digg/dgc/payload/v1/DigitalCovidCertificate.html?is-external=true) are not existing / broken.
This way these could be deployed to maven central and be accessed with classifier `java8`. (If you are willing to add an extra step to the pipeline...) ```xml se.digg.dgc dgc-schema...
Since validation certificates may have a usage (vac, test, recovery), we need to extend the `CertificateProvider` interface and also have an extra parameter for validate telling the usage.