tls

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2022 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