tlsutil

package
v1.3.1 Latest Latest
Warning

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

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

Documentation

Overview

Package tlsutil holds module-internal TLS helpers shared by the grpcsrv and grpcclient transport-credential builders. It is under internal/ so it is NOT part of the public corelib API surface — only kacho-corelib packages may import it.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadCAPool

func LoadCAPool(files []string) (*x509.CertPool, error)

LoadCAPool reads PEM CA bundles into an x509.CertPool. An empty/garbage bundle (no parseable certificate) is an error — fail-closed. This is the single source of truth for CA-pool loading on both the server (client-CA verification) and client (server-CA verification) transport edges, so a future hardening of the CA policy applies to both edges at once (previously the two copies could silently diverge).

Types

This section is empty.

Jump to

Keyboard shortcuts

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