ca

package
v0.0.0-...-3b51f2e Latest Latest
Warning

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

Go to latest
Published: May 20, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateCACertificate

func GenerateCACertificate() (cert []byte, key []byte, err error)

func GenerateCertificateSigningRequest

func GenerateCertificateSigningRequest(commonName string) (csr []byte, key []byte, err error)

func GenerateHTTPTLSConfig

func GenerateHTTPTLSConfig(certBytes, keyBytes []byte) (*tls.Config, error)

func GenerateRPCTLSConfig

func GenerateRPCTLSConfig(certBytes, keyBytes, caCertBytes []byte) (*tls.Config, error)

func SignCsr

func SignCsr(caCertBytes, caKeyBytes, csrBytes []byte) ([]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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