certstore

package
v0.0.0-...-a15cf4d Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2023 License: 0BSD Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const HARD_LIMIT_EXPIRY_DATS = 1
View Source
const MAX_LRU_ENTRIES = 10
View Source
const SOFT_LIMIT_EXPIRY_DAYS = 7

Variables

This section is empty.

Functions

func NewCachingCertificateStorageService

func NewCachingCertificateStorageService(store services.CertStorageService, entries int) services.CertStorageService

func NewVaultCertificateStorageService

func NewVaultCertificateStorageService(client *vault.KVv2, prefix string) services.CertStorageService

func WrapTLSConfig

func WrapTLSConfig(config *tls.Config, service services.CertStorageService) *tls.Config

Types

type StorageCertificate

type StorageCertificate struct {
	CAChain string `mapstructure:"ca_chain"`
	Key     string `mapstructure:"key"`
}

func (*StorageCertificate) CAChainBytes

func (s *StorageCertificate) CAChainBytes() []byte

func (*StorageCertificate) KeyBytes

func (s *StorageCertificate) KeyBytes() []byte

Jump to

Keyboard shortcuts

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