Versions in this module Expand all Collapse all v0 v0.1.0 Feb 10, 2016 Changes in this version + func BootstrapCertificates(authOptions *auth.Options) error + func GenerateCACertificate(certFile, keyFile, org string, bits int) error + func GenerateCert(hosts []string, certFile, keyFile, caFile, caKeyFile, org string, bits int) error + func ReadTLSConfig(addr string, authOptions *auth.Options) (*tls.Config, error) + func SetCertGenerator(cg Generator) + func ValidateCertificate(addr string, authOptions *auth.Options) (bool, error) + type Generator interface + GenerateCACertificate func(certFile, keyFile, org string, bits int) error + GenerateCert func(hosts []string, certFile, keyFile, caFile, caKeyFile, org string, bits int) error + ReadTLSConfig func(addr string, authOptions *auth.Options) (*tls.Config, error) + ValidateCertificate func(addr string, authOptions *auth.Options) (bool, error) + func NewX509CertGenerator() Generator + type X509CertGenerator struct + func (xcg *X509CertGenerator) GenerateCACertificate(certFile, keyFile, org string, bits int) error + func (xcg *X509CertGenerator) GenerateCert(hosts []string, certFile, keyFile, caFile, caKeyFile, org string, bits int) error + func (xcg *X509CertGenerator) ReadTLSConfig(addr string, authOptions *auth.Options) (*tls.Config, error) + func (xcg *X509CertGenerator) ValidateCertificate(addr string, authOptions *auth.Options) (bool, error)