signing

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewKey

func NewKey(ctx context.Context, opts ...Option) (*signingKey, error)

NewKey creates a new signing key with the specified options.

Types

type Option

type Option func(*signingKey) error

Option is used to configure a singing key.

func WithRefreshInterval

func WithRefreshInterval(interval time.Duration) Option

WithRefreshInterval specifies the interval to refresh the key pair.

Jump to

Keyboard shortcuts

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