csrgen

package
v0.0.0-...-bda8ed4 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrFailedPrivateKeyGen = errors.New("failed to generate private key")
	ErrFailedCSRCreation   = errors.New("failed to create certificate request")
	ErrFailedCSRParsing    = errors.New("failed to parse certificate request as x509.CertificateRequest")
)

Functions

func GenerateKeyAndCSR

func GenerateKeyAndCSR(cn string, sans ...string) (*ecdsa.PrivateKey, *x509.CertificateRequest, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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