crypto

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2020 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadTlsConfigFromSecret

func LoadTlsConfigFromSecret(secret *corev1.Secret, caCert []byte) (*tls.Config, error)

func NewCSR

func NewCSR(commonName string, hostList []string, IPList []string) ([]byte, []byte, error)

func ReadCACerts

func ReadCACerts() (*x509.CertPool, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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