Versions in this module Expand all Collapse all v0 v0.2.0 Dec 1, 2020 Changes in this version + var MaxSerialNumber = big.NewInt(0).SetBytes(bytes.Repeat([]byte{ ... }, 20)) + func NewAuthority(name, organization string, validity time.Duration) (*x509.Certificate, *rsa.PrivateKey, error) + type Config struct + func NewConfig(ca *x509.Certificate, privateKey interface{}) (*Config, error) + func (c *Config) HandshakeErrorCallback(r *http.Request, err error) + func (c *Config) SetHandshakeErrorCallback(cb func(*http.Request, error)) + func (c *Config) SetOrganization(org string) + func (c *Config) SetValidity(validity time.Duration) + func (c *Config) SkipTLSVerify(skip bool) + func (c *Config) TLS() *tls.Config + func (c *Config) TLSForHost(hostname string) *tls.Config