tls

package
v0.0.2-pre Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

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