Created
July 26, 2021 18:55
-
-
Save GaetanoPiazzolla/c8ed3355d996c99a8641295df96ba82c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import COSE.Encrypt0Message; | |
import COSE.Message; | |
import com.google.iot.cbor.CborMap; | |
// .. | |
Message a = Encrypt0Message.DecodeFromBytes(outputStream.toByteArray()); | |
CborMap cborMap = CborMap.createFromCborByteArray(a.GetContent()); | |
System.out.println(cborMap.toString(2)); | |
// .. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Related to medium article: https://gae-piaz.medium.com/decode-the-eu-green-pass-qrcode-using-java-b5654e55b0fc