certgen

package
v0.0.0-...-c283e9f Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2021 License: BSD-3-Clause Imports: 11 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Certificate

type Certificate struct {
	Pin string
	PEM string
	DER []byte

	KeyPEM string
	Key    *rsa.PrivateKey
}

func Generate

func Generate(p Params) (*Certificate, error)

type Params

type Params struct {
	Hosts []string
	IsCA  bool
	CA    *Certificate
}

Jump to

Keyboard shortcuts

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