Some basic security check for tempering of JWS.
It also adds interfaces Signer and HS256 and RS256 implementation.