tls

package
v1.4.0-dev-20240819 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2024 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateCABundle

func ValidateCABundle(data []byte) error

ValidateCABundle validates that a PEM bundle contains at least one valid certificate.

func ValidatePrivateKey

func ValidatePrivateKey(data []byte) error

ValidatePrivateKey validates that a PEM bundle contains a private key.

func ValidateServingBundle

func ValidateServingBundle(data []byte) error

ValidateServingBundle validates that a PEM bundle contains at least one certificate, and that the first certificate has a CN or SAN set.

Types

This section is empty.

Jump to

Keyboard shortcuts

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