package
0.11.0
Repository: https://github.com/elastic/elastic-agent-libs.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

GenerateChildCert generates a x509 Certificate as a child of caCert and returns the following: - the certificate in PEM format as a byte slice - the private key in PEM format as a byte slice - the certificate and private key as a tls.Certificate If any error occurs during the generation process, a non-nil error is returned.
NewRootAndChildCerts returns a root CA and a child certificate and their keys for "localhost" and "127.0.0.1".
NewRootCA generates a new x509 Certificate and returns: - the private key - the certificate - the certificate in PEM format as a byte slice.

# Structs

Pair is a certificate and its private key in PEM format.