fiskaltrust / middleware-demo-dotnet

Demo applications that demonstrate how to call the fiskaltrust.Middleware from .NET/C#. This repository contains examples using GRPC, WCF and REST using both JSON and XML.
https://docs.fiskaltrust.cloud
MIT License
3 stars 6 forks source link

Decode JWT as QR #22

Closed doczoidberg closed 2 years ago

doczoidberg commented 2 years ago

Hello,

how can I decode the JWT Signautre (Format 3) to print the QR Code on my receipt?

E.g. I have: V0;ftOZMtkCbCE0mdTBZThJ68zw;Kassenbeleg-V1;Beleg^12.00_2.50_0.00_0.00_0.00^14.50:Bar;26;210;2022-01-06T08:59:55.000Z;2022-01-06T08:59:55.000Z;ecdsa-plain-SHA384;unixTime;XytZYZ3rsrc4N9gEUMHvWaDQtACG/x/bCyOE8VGpcAZnM4+h+5Ppuy/hfAxPZLlgNdTLmiAtz7wpq8xMiqdYhr0e65Nc5J+zwFIesDMQAg6w9iyXyIUEB11qZuQ0W7F6;BIm0dPWXnx74aAFWmXacv5aJQVNi9+VaUFELgx1eVcXDmJHhR5SzQzY5tYRSF50FHBOK9UToc0xTf8SEmp5+AEbA033BQhtfGk65aszM5VcvMyyWU4aCuk8zXoTv1OU83Q==

It does not work with tools like:

https://jwt.io/