toJwk
Encodes the public key as a JSON Web Key according to RFC 7517.
By default this only includes the kty, crv, x, y (if double-coordinate) claims, use additionalClaims to include other claims.
Return
a JSON Web Key.
Parameters
additionalClaims
additional claims to include or null.