throw new RuntimeException(e);
} catch (NoSuchAlgorithmException e) {
throw new RuntimeException(e);
}
return issueJwt(jsonBuilder.build(), acHost);
}
private String issueJwt(String jsonPayload, AcHost acHost) throws JwtSigningException, JwtIssuerLacksSharedSecretException, JwtUnknownIssuerException {
return getJwtWriter(acHost).jsonToJwt(jsonPayload);