Versions in this module Expand all Collapse all v1 v1.6.4 Jun 2, 2022 Changes in this version + var NewCA = func(id *core.Identity) (ca.CertificateAuthority, error) + var NewKeyProvider = func(id *core.Identity) (kp.KeyProvider, error) + var PollInterval = 30 * time.Second + func Dial(address string, tr *Transport) (*tls.Conn, error) + type Listener struct + func Listen(address string, tr *Transport) (*Listener, error) + func (l *Listener) AutoUpdate(certUpdates chan<- time.Time, errChan chan<- error) + type Transport struct + Backoff *backoff.Backoff + Before time.Duration + CA ca.CertificateAuthority + ClientTrustStore *roots.TrustStore + Identity *core.Identity + Provider kp.KeyProvider + RevokeSoftFail bool + TrustStore *roots.TrustStore + func New(before time.Duration, identity *core.Identity) (*Transport, error) + func (tr *Transport) AutoUpdate(certUpdates chan<- time.Time, errChan chan<- error) + func (tr *Transport) Lifespan() time.Duration + func (tr *Transport) RefreshKeys() (err error) + func (tr *Transport) TLSClientAuthClientConfig(host string) (*tls.Config, error) + func (tr *Transport) TLSClientAuthServerConfig() (*tls.Config, error) + func (tr *Transport) TLSServerConfig() (*tls.Config, error)