key

package
v0.0.0-...-1a421e1 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeyHandler

type KeyHandler struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler(setters ...Option) (*KeyHandler, error)

func (*KeyHandler) GetPrivateKey

func (h *KeyHandler) GetPrivateKey() jwk.Key

func (*KeyHandler) GetPublicKeySet

func (h *KeyHandler) GetPublicKeySet() jwk.Set

type Option

type Option func(*options)

func WithRSAKey

func WithRSAKey(opt *rsa.PrivateKey) Option

Jump to

Keyboard shortcuts

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