jwks

package
v0.0.0-...-88bec2d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 22, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package jwks provides functionality for generating JSON Web Key Sets (JWKS) from public keys.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateJWKS

func GenerateJWKS(ctx context.Context, publicKeyFile string, kid string) (string, error)

GenerateJWKS reads a public key from a file, parses it, and returns its JSON Web Key Set (JWKS) representation. If kid is provided, it sets the Key ID explicitly; otherwise, it computes a SHA-256-derived kid from the public key.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL