Skip to content

Latest commit

 

History

History
48 lines (37 loc) · 1.01 KB

File metadata and controls

48 lines (37 loc) · 1.01 KB

nl-covid19-coronacheck-mobile-core-verifier-java-wrapper

Introduction

This repository contains a wrapper for checking a COVID QR Code.

Based on the sample QR code found on https://coronacheck.nl/nl/scanner.html:

QR

Getting started

Build a shared library (in your flavor .dll / .so / .dylib) from the ./go dir.

go build -buildmode=c-shared -o libcovid.dylib checkcode.go

Get current config & public keys:

run get.sh inside ./config dir.

Run maven to build Java

mvn install

Running the example

Inside ./dist run

java -jar CheckCode.jar

Expected output:

{"success": true,
        "data": {
                "CredentialVersion": "1",
                "IsSpecimen": "1",
                "FirstNameInitial": "B",
                "LastNameInitial": "B",
                "BirthDay": "5",
                "BirthMonth": "7",
                "IsNLDCC": ""
        }
}