certs

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// MaxTokenExpiration defines the maximum lifetime of a token (which depends on the root cert expiration)
	MaxTokenExpiration = 365 * 24 * time.Hour
)

Functions

This section is empty.

Types

type CertStore

type CertStore interface {
	LatestPrivate(ctx context.Context) (*ecdsa.PrivateKey, error)
	PublicKeys(ctx context.Context) (jwk.Set, string, error)
}

func NewRedisStore

func NewRedisStore(c *Config) CertStore

type Config

type Config struct {
	RedisClient               *redis.Client
	RenewCertBeforeExpiration *time.Duration
}

Jump to

Keyboard shortcuts

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