Documentation ¶
Overview ¶
Package cert provide useful functions to generate certificates
Package cert provide useful functions to generate certificates
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateOrFetchAgentIPCCert ¶
func CreateOrFetchAgentIPCCert(config configModel.Reader) ([]byte, []byte, error)
CreateOrFetchAgentIPCCert return the IPC certificate and key from the path set in the configuration or create if not present Requires that the config has been set up before calling
func FetchAgentIPCCert ¶
func FetchAgentIPCCert(config configModel.Reader) ([]byte, []byte, error)
FetchAgentIPCCert return the IPC certificate and key from the path set in the configuration Requires that the config has been set up before calling
func GetCertFilepath ¶
func GetCertFilepath(config configModel.Reader) string
GetCertFilepath returns the path to the IPC cert file.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.