JWK (JSON Web Key) structure
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
alg
Algorithm (RS256, ES256, etc.)
Sourcealg=(alg : String | Nil)
Algorithm (RS256, ES256, etc.)
Sourcecrv
EC curve (P-256, P-384, P-521)
Sourcecrv=(crv : String | Nil)
EC curve (P-256, P-384, P-521)
Sourced=(d : String | Nil)
OKP key parameter (Ed25519 public key)
Sourced?
OKP key parameter (Ed25519 public key)
Sourcekey_ops=(key_ops : Array(String) | Nil)
Sourceto_pem
Convert JWK to PEM format
Sourceuse
Public key use (sig, enc)
Sourceuse=(use : String | Nil)
Public key use (sig, enc)
Sourcex5t
X.509 certificate SHA-1 thumbprint
Sourcex5t=(x5t : String | Nil)
X.509 certificate SHA-1 thumbprint
Sourcex5t_s256
X.509 certificate SHA-256 thumbprint
Sourcex5t_s256=(x5t_s256 : String | Nil)
X.509 certificate SHA-256 thumbprint
Source