Jwk
class Jwk(val kty: String, val crv: String, val use: String?, val alg: String?, var kid: String?, val d: String?, val x: String?, val y: String?)
Represents a JSON Web Key (Jwk ). A Jwk is a JSON object that represents a cryptographic key. This class provides functionalities to manage a Jwk including its creation, conversion to and from JSON, and computing a thumbprint.
Example:
var jwk = Jwk(
kty: 'RSA',
alg: 'RS256',
use: 'sig',
... // other parameters
);
Content copied to clipboard