cert

package
v0.0.0-...-ef0445d Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2019 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CAPublic

func CAPublic() string

CAPublic provides the certificate authority public certificate

Types

type Client

type Client struct {
	Key  string
	Cert string
}

Client holds the client request private key and public certificate

func GenerateRequest

func GenerateRequest(DNSNames []string) (*Client, error)

GenerateRequest generates a new client key/cert pair

Jump to

Keyboard shortcuts

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