package
0.0.0-20241220230325-193e05bca902
Repository: https://github.com/egdaemon/eg.git
Documentation: pkg.go.dev

# Functions

Clone ...
DecodePEMCertificate decode a pem encoded x509 certiciate.
Default clock that can be used to generate a template cert.
MustClone ...
NewDialer for tls configurations.
OptionInsecureSkipVerify see tls.Config.InsecureSkipVerify.
OptionNextProtocols ALPN see tls.NextProtos.
OptionNoClientCert see tls.NoClientCert.
OptionVerifyClientIfGiven see tls.VerifyClientCertIfGiven.
SelfSigned signs its own certificate ..
SelfSignedRand signs its own certificate ..
SelfSignedRSAGen generate a self signed certificate.
SelfSignedRSAGen generate a self signed certificate.
SignedRSAGen ...
WriteCertificate ...
WriteCertificateFile ...
WritePrivateKey ...
WritePrivateKeyFile ...
WriteTLS ...
X509OptionCA enables the certificate as a ca.
X509OptionHosts set the hosts.
X509OptionSubject subject for the cert.
X509OptionTimeWindow where the certificate is valid.
X509OptionUsage set the usage options for the certificate.
X509OptionUsageExt set the usage extension bits.
X509Template ...
X509TemplateRand generate a template using the provided random source.

# Type aliases

Option tls config options.
X509Option ...