Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertGenerator ¶
type CertGenerator struct {
// contains filtered or unexported fields
}
CertGenerator allows for generating certificates for a given host.
func NewCertGenerator ¶
func NewCertGenerator(certStore certStore) (*CertGenerator, error)
func (*CertGenerator) GetCertificate ¶
func (cg *CertGenerator) GetCertificate(host string) (*tls.Certificate, error)
GetCertificate returns a self-signed certificate for the given host.
Click to show internal directories.
Click to hide internal directories.