certificates

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateKey

func GenerateKey(bitSize int) *rsa.PrivateKey

func GetCSR

func GetCSR(serviceNames []string, namespace *string, key *rsa.PrivateKey) ([]byte, error)

func GetValidNotAfter

func GetValidNotAfter(certPEM []byte) (*time.Time, error)

func KeyToString

func KeyToString(key *rsa.PrivateKey) []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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