localca

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package localca implements a CA whose state can be stored in a local file or Kubernetes secret.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Marshal

func Marshal(ca *Pool) ([]byte, error)

Types

type CA

type CA struct {
	ID                       string
	SigningKey               crypto.PrivateKey
	RootCertificate          *x509.Certificate
	IntermediateCertificates []*x509.Certificate
}

func GenerateED25519CA

func GenerateED25519CA(id string) (*CA, error)

type Pool

type Pool struct {
	CAs []*CA
}

func Unmarshal

func Unmarshal(wireBytes []byte) (*Pool, error)

Jump to

Keyboard shortcuts

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