tls

package
v1.0.9-2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCertificateRequest

func NewCertificateRequest(req *api.CSRInfo) *csr.CertificateRequest

Types

type TLS

type TLS struct {
	CAHomeDir string
	CSP       *factory.FactoryOpts
}

func (*TLS) GenerateSelfSignedTLSCrypto

func (t *TLS) GenerateSelfSignedTLSCrypto(csr *api.CSRInfo) ([]byte, error)

func (*TLS) WriteCryptoToFile

func (t *TLS) WriteCryptoToFile(cert []byte, certName string) error

Jump to

Keyboard shortcuts

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