# README
go-certificates
Library for golang code related to creating certificates.
# Packages
No description provided by the author
# Functions
CreateCertificate creates a certificate according to the given configuration.
CreateKeystore creates a java keystore containing the given certificate, private key & ca certificate(s).
CreateTLSConfigFromAuthentication creates a tls.Config object from given configuration.
EncodeToString encodes the given certification information into 2 strings.
ExtractCACertificateFromKeyFile loads a SSL keyfile formatted for the arangod server and extracts the CA certificate(s) from it (if any).
GetCertificateExpirationDate returns the expiration date of the TLS certificate found in the given config.
LoadCAFromPEM parses the given certificate & key into a CA instance.
LoadCertPool creates a certificate pool from the certificate(s) given in the given PEM encoded string.
LoadFromPEM parses the given certificate & key into a certificate slice & private key.
LoadKeyFile loads a SSL keyfile formatted for the arangod server.
NewKeyfile creates a keyfile from given content.
SaveKeyFile creates a keyfile with given certificate & key data.
# Structs
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author
# Type aliases
Keyfile contains 1 or more certificates and a private key.