verification

package
v1.11.4 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func VerifyAndParseCABundle

func VerifyAndParseCABundle(cm *corev1.ConfigMap) ([]*x509.Certificate, []byte)

func VerifyAndParseTLSCert

func VerifyAndParseTLSCert(secret *corev1.Secret, options TLSCertOptions) ([]*x509.Certificate, []byte, crypto.PrivateKey, []byte)

Types

type TLSCertOptions

type TLSCertOptions struct {
	IsCA     *bool
	KeyUsage *x509.KeyUsage
}

Jump to

Keyboard shortcuts

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