package
1.2.120
Repository: https://github.com/searking/golang.git
Documentation: pkg.go.dev

# Functions

CreateSelfSignedCertificate creates a self-signed x509 certificate.
CreateSelfSignedTLSCertificate creates a self-signed TLS certificate.
No description provided by the author
LoadCertificates returns loads a TLS LoadCertificates.
LoadX509CertificatePool returns loads a TLS x509.CertPool or update a TLS x509.CertPool if nil.
LoadX509Certificates returns loads a TLS LoadCertificates of x509.
PEMBlockForKey returns a PEM-encoded block for key.
PublicKey returns the public key for a given key or nul.

# Variables

ErrInvalidCertificateConfiguration is returned when an invalid TLS configuration was found.
ErrNoCertificatesConfigured is returned when no TLS configuration was found.
No description provided by the author