Documentation ¶
Overview ¶
Package jwk implements a subset of the JSON Web Key spec (https://tools.ietf.org/html/rfc7517)
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JWK ¶
type JWK struct { ALG string `json:"alg,omitempty"` KTY string `json:"kty,omitempty"` CRV string `json:"crv,omitempty"` D string `json:"d,omitempty"` X string `json:"x,omitempty"` Y string `json:"y,omitempty"` }
JWK represents a JSON Web Key as per RFC7517 (https://tools.ietf.org/html/rfc7517) Note that this is a subset of the spec. There are a handful of properties that the spec allows for that are not represented here at the moment. This is because we only need a subset of the spec for our purposes.
func (JWK) ComputeThumbprint ¶
ComputeThumbprint computes the JWK thumbprint as per RFC7638 (https://tools.ietf.org/html/rfc7638)
Click to show internal directories.
Click to hide internal directories.