cert

package
v0.0.0-...-156537e Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FilePermission os.FileMode = 0644

	OrgName                 = "Intelops"
	RootCACommonName        = "Capten Agent Root CA"
	ClusterCACertSecretName = "agent-ca-cert"
	CertManagerNamespace    = "cert-manager"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Cert

type Cert struct {
	Cert     *x509.Certificate
	CertData []byte
}

type CertificatesData

type CertificatesData struct {
	RootKey         *Key
	RootCert        *Cert
	CaChainCertData []byte
}

func GenerateRootCerts

func GenerateRootCerts() (*CertificatesData, error)

type Key

type Key struct {
	Key     *rsa.PrivateKey
	KeyData []byte
}

Jump to

Keyboard shortcuts

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