Generate a JWT (or JWS-ed object)
the data to sign. Interpreted as JwtPayload but AFAIK this isn't required
an opaque RSA private key
the crypto service to use for signing
optional JWT header, defaults to RS256
the signed object, with a JWS header. This may be a JWT.
Generate a JWT (or JWS-ed object)