package
Version:
v0.3.0
Opens a new window with list of versions in this module.
Published: Apr 20, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type JWK struct {
Alg string `json:"alg"`
Kty string `json:"kty"`
Use string `json:"use,omitempty"`
N string `json:"n"`
E string `json:"e"`
Kid string `json:"kid,omitempty"`
X5t string `json:"x5t,omitempty"`
X5c []string `json:"x5c,omitempty"`
}
NewJWK returns a JWK generated from the provided rsaPublicKey.
type JWKS struct {
Keys []JWK `json:"keys"`
}
NewJWKS returns a JWKS with a JWK generated from the provided rsaPublicKey.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.