Versions in this module Expand all Collapse all v1 v1.0.2 May 18, 2023 Changes in this version + type ACMEConfig struct + CacheDir string + DirectoryURL string + DomainName string + Email string + ToSAccepted bool + type Cache struct + func NewCache(ds datastore.DataStore, clk clock.Clock) *Cache + func (c *Cache) FetchBundleX509(ctx context.Context, td spiffeid.TrustDomain) (*x509bundle.Bundle, error) + type EndpointConfig struct + ACME *ACMEConfig + Address *net.TCPAddr + type Getter interface + GetBundle func(ctx context.Context) (*bundleutil.Bundle, error) + type GetterFunc func(ctx context.Context) (*bundleutil.Bundle, error) + func (fn GetterFunc) GetBundle(ctx context.Context) (*bundleutil.Bundle, error) + type Server struct + func NewServer(config ServerConfig) *Server + func (s *Server) ListenAndServe(ctx context.Context) error + type ServerAuth interface + GetTLSConfig func() *tls.Config + func ACMEAuth(log logrus.FieldLogger, km keymanager.KeyManager, config ACMEConfig) ServerAuth + func SPIFFEAuth(getter func() ([]*x509.Certificate, crypto.PrivateKey, error)) ServerAuth + type ServerConfig struct + Address string + Getter Getter + Log logrus.FieldLogger + ServerAuth ServerAuth