code: protected JsonWebSignature createJsonWebSignature(final JwtClaims claims) {
          val jws = new JsonWebSignature();
          val jsonClaims = claims.toJson();
          jws.setPayload(jsonClaims);
          jws.setAlgorithmHeaderValue(AlgorithmIdentifiers.NONE);
          jws.setAlgorithmConstraints(AlgorithmConstraints.NO_CONSTRAINTS);
          return jws;
      }
docs: Gets json web signature.
  
  @param claims the claims
  @return the json web signature