cert

package
v0.62.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 29, 2025 License: Apache-2.0 Imports: 17 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL