selfsigned

package
v0.0.0-...-ff95916 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Organization = "Self-signed dummy certificate"
View Source
var RSABits = 2048

Functions

func Generate

func Generate(hostname string) (*tls.Certificate, error)

Types

type Provider

type Provider struct {
	// contains filtered or unexported fields
}

func (*Provider) GetHostname

func (p *Provider) GetHostname() (string, error)

func (*Provider) GetPEM

func (p *Provider) GetPEM(hostname string) ([]byte, error)

func (*Provider) GetTLSConfig

func (p *Provider) GetTLSConfig(hostname string) (*tls.Config, error)

Jump to

Keyboard shortcuts

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