keychain

package
v0.0.0-...-b302b47 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Keychain

type Keychain struct {
	// contains filtered or unexported fields
}

func New

func New() *Keychain

func (*Keychain) Add

func (k *Keychain) Add(jwk jose.JSONWebKey)

func (*Keychain) Create

func (k *Keychain) Create(kid string) (jose.JSONWebKey, error)

func (*Keychain) Get

func (k *Keychain) Get(kid string) *jose.JSONWebKey

func (*Keychain) GetAll

func (k *Keychain) GetAll() []jose.JSONWebKey

Jump to

Keyboard shortcuts

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