Versions in this module Expand all Collapse all v0 v0.14.0 Apr 24, 2024 v0.13.0 Feb 27, 2024 Changes in this version + const CachedFileKeyCA + const CachedFileKeyCertificate + const CachedFileKeyPrivateKey + const DefaultCacheRoot + func ParseConfigWithDefaults[T any](defaults T, rawConfig json.RawMessage) (T, error) + func ParseTLSVersion(verStr string) (uint16, error) + func RenewRepeatIntervalFunc(fallbackInterval time.Duration) loop.RepeatIntervalFunc + type FileCache struct + Dir string + Prefix string + func NewFileCache(opts ...FileCacheOptions) (*FileCache, error) + func (c *FileCache) CacheCertificate(cert *tls.Certificate) error + func (c *FileCache) CachePEM(pemData []byte, key string) error + func (c *FileCache) ResolvePath(key string) string + type FileCacheOption struct + Prefix string + Root string + Type certs.SourceType + type FileCacheOptions func(opt *FileCacheOption) + type GenericFactory struct + Constructor func(props PropertiesType) certs.Source + Defaults PropertiesType + SourceType certs.SourceType + func NewFactory[PropertiesType any](typ certs.SourceType, rawDefaultConfig json.RawMessage, ...) (*GenericFactory[PropertiesType], error) + func (f *GenericFactory[T]) LoadAndInit(_ context.Context, opts ...certs.SourceOptions) (certs.Source, error) + func (f *GenericFactory[T]) Type() certs.SourceType