jwkutils

package
v0.0.0-...-56decb7 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateJWK

func GenerateJWK() (jose.JSONWebKey, error)

func ParseJWK

func ParseJWK(json []byte) (*jose.JSONWebKey, error)

func RandStringBytes

func RandStringBytes(n int) string

Types

type KeySet

type KeySet struct {
	Private jose.JSONWebKeySet
	Public  jose.JSONWebKeySet
}

func KeySetWithExisting

func KeySetWithExisting(newjwk jose.JSONWebKey, existingjwks []jose.JSONWebKey) KeySet

Jump to

Keyboard shortcuts

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