I am creating a Green Pass app and I need some info. I use Kotlin with this code:
val expirationTime = Instant.ofEpochSecond (map [CwtHeaderKeys.EXPIRATION.asCBOR ()]. AsInt64 ())
verificationResult.isNotExpired = expirationTime.isAfter (Instant.now ())
I should check between the certificate date and today's date, if it exceeds 45 days it opens a new activity for me.