jose.jwk
encode(key) -> json, err
key
json
err
Serialize a key as a JWK document
Writes the known members alone, the private part included. Take public first for a key that is to be published.
public