keyss3

package
v0.1.6-alpha Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeysStorage

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

func New

func New(lg *slog.Logger, bucket, privateKeyName, jwkSetsName string) *KeysStorage

func (*KeysStorage) ReadJWKSets

func (k *KeysStorage) ReadJWKSets() (*storage.JWKSetsData, error)

func (*KeysStorage) ReadPrivateKey

func (k *KeysStorage) ReadPrivateKey() (*storage.PrivateKeyData, error)

func (*KeysStorage) WriteJWKSets

func (k *KeysStorage) WriteJWKSets(jwkSets storage.JWKSetsData) error

func (*KeysStorage) WritePrivateKey

func (k *KeysStorage) WritePrivateKey(key storage.PrivateKeyData) error

Jump to

Keyboard shortcuts

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