Hi There,
we wanted to validate the signature of JWT token against the below key-set(rotation). Am wondering what is this "n' value.
In generally the jwt would be signed with private-key and validate with public key, but how would I convert the "n" from the below to public key and verify the signature of jwt token?
{
"keys": [
{
"kty": "RSA",
"alg": "RS256",
"use": "sig",
"kid": "3405d0ec4edf60539acf73be64604d49a097189a",
"n": "vBNfb9rmZLTwVpjoeT9lsLvzwl5rAVWGius9n2AFdibXlTaA_o...",
"e": "AQAB"
},
{
"kty": "RSA",
"alg": "RS256",
"use": "sig",
"kid": "ac7ebbdff9e77669785f4c530fe2d4a6408bc98d",
"n": "1L2jYqXcdvdxtY10zT3PTZyTxG_gIScRcSheHYsuRMfdsh40x...",
"e": "AQAB"
},
{
"kty": "RSA",
"alg": "RS256",
"use": "sig",
"kid": "1838c3d30929ad5f8a84b124538d467dc612cd4f",
"n": "sblvLT44RjceIc7_sxgOfKmy3Ddm81n4qtjzlFO-VZtampq...",
"e": "AQAB"
},
{
"kty": "RSA",
"alg": "RS256",
"use": "sig",
"kid": "978ca4118bf1883b316bbca6ce9044d9977f2027",
"n": "qpe-lPi7HVP8_SRqodC19iWDcYJ-5-wZbBxxxgszoPbphgN8...",
"e": "AQAB"
}
]
}