Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CaCert ¶
type CaCert struct { Cert *x509.Certificate PEM bytes.Buffer PrivPEM bytes.Buffer PrivKey *rsa.PrivateKey Created bool }
type SelfSignedCertRequest ¶
type SelfSignedCertRequest struct {
Domain string
}
type SelfSignedCertResult ¶
type SelfSignedCertResult struct { ServerTLSConf *tls.Config ServerCert tls.Certificate ClientTLSConf *tls.Config CaCertPEM bytes.Buffer CertPEM bytes.Buffer PrivatePEM bytes.Buffer }
func SelfSignedCert ¶
func SelfSignedCert(req SelfSignedCertRequest) (SelfSignedCertResult, error)
Click to show internal directories.
Click to hide internal directories.