Skip to content

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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

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": ""
        }
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published