Generate jwt token with private key java. I am trying to generate a jwt token from a keystore.