# Functions
GenCertPair generates a key/cert pair and returns the pair in byte form.
GetCertBytesFromPath reads the TLS certificate and key files at the given certPath and keyPath and returns the file bytes.
IsOutdated returns whether the given certificate is outdated w.r.t.
LoadCert loads a certificate and its corresponding private key from the PEM files indicated and returns the certificate in the two formats it is most commonly used.
LoadCertFromBytes loads a certificate and its corresponding private key from the PEM bytes indicated and returns the certificate in the two formats it is most commonly used.
NewTLSReloader is used to create a new TLS Reloader that will be used to update the TLS certificate without restarting the server.
TLSConfFromCert returns the default TLS configuration used for a server, using the given certificate as identity.
WriteCertPair writes certificate and key data to disk if a path is provided.
# Structs
TLSReloader updates the TLS certificate without restarting the server.