Versions in this module Expand all Collapse all v0 v0.1.0 Mar 20, 2020 Changes in this version + type CertType x509.ExtKeyUsage + const ClientCertType + const ServerCertType + type CertificateInformation struct + Begin time.Time + CommonName string + DNSNames []string + Days int + IPAddresses []net.IP + Organization string + Type CertType + func (c *CertificateInformation) Generate() (cert, key []byte, err error) type TLSConfigurator + func New(cert, key []byte, caCerts ...[]byte) (*TLSConfigurator, error) + func NewFromFS(fs http.FileSystem, cert, key string, caCerts ...string) (*TLSConfigurator, error) + func NewFromFile(cert, key string, caCerts ...string) (*TLSConfigurator, error) v0.0.1 Aug 22, 2016 Changes in this version + type TLSConfigurator struct + Assets http.FileSystem + CaCerts []string + Cert string + Key string + func (c *TLSConfigurator) HTTPSClient() (*http.Client, error) + func (c *TLSConfigurator) TLSClientConfig() (*tls.Config, error) + func (c *TLSConfigurator) TLSListener(ln net.Listener) (net.Listener, error) + func (c *TLSConfigurator) TLSServerConfig() (*tls.Config, error)