JWSObject jwsObject = JWSObject.parse(jws);
assertEquals(JWSAlgorithm.HS256, jwsObject.getHeader().getAlgorithm());
assertEquals("018c0ae5-4d9b-471b-bfd6-eef314bc7037", jwsObject.getHeader().getKeyID());
JWSVerifier verifier = new MACVerifier(jwk.toByteArray());
assertTrue(jwsObject.verify(verifier));
assertEquals("SXTigJlzIGEgZGFuZ2Vyb3VzIGJ1c2luZXNzLCBGcm9kbywgZ29pbmcgb3V0IH" +
"lvdXIgZG9vci4gWW91IHN0ZXAgb250byB0aGUgcm9hZCwgYW5kIGlmIHlvdSBk" +