Nimbus JOSE + JWT 2.5 updates JWK format
The Java library for JSON web signatures and encryption (JOSE) received a minor update to reflect the latest changes to the -07 set of IEFT drafts. These were mostly related to the format of the JSON structure for representing public RSA keys.
Example:
{
"alg" : "RSA",
"n" : "0vx7agoebGcQSuuPiLJXZptN9nndrQmbXEps2aiAFbWhM78LhWx
4cbbfAAtVT86zwu1RK7aPFFxuhDR1L6tSoc_BJECPebWKRXjBZCiFV4n3oknjhMs
tn64tZ_2W-5JsGY4Hc5n9yBXArwl93lqt7_RN5w6Cf0h4QyQ5v-65YGjQR0_FDW2
QvzqY368QQMicAtaSqzs8KJZgnYb9c7d0zgdAZHzu6qMQvRL5hajrn1n91CbOpbI
SD08qNLyrdkt-bFTWhAI4vMQFh6WeZu0fM4lFd2NcRwr3XPksINHaQ-G_xBniIqb
w0Ls1jF44-csFCur-kEgU8awapJzKnqDKgw",
"e" : "AQAB",
"kid" : "2011-04-29"}
}
You can download the Nimbus JOSE + JWT library source and JAR from the project Git repo at