String jwsJson = jwe.getPlaintextString();
System.out.println(jwsJson);
JsonWebSignature jws = new JsonWebSignature();
jws.setCompactSerialization(jwsJson);
jws.setKey(ExampleRsaKeyFromJws.PUBLIC_KEY);
System.out.println(jws.verifySignature());
System.out.println(jws.getPayload());
Map<String, Object> claims = JsonUtil.parseJson(jws.getPayload());
assertEquals("joe", claims.get(ReservedClaimNames.ISSUER));
assertTrue((Boolean) claims.get("http://example.com/is_root"));
assertEquals(IntDate.fromSeconds(1300819380), JsonHelp.getIntDate(claims, ReservedClaimNames.EXPIRATION_TIME));