certs

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cert

type Cert struct {
	Cert []byte
	Key  []byte
}

func Genereate

func Genereate(a GenArg) (Cert, error)

type GenArg

type GenArg struct {
	CA          Cert
	ValidFor    time.Duration
	ExtKeyUsage []x509.ExtKeyUsage
	IPAddresses []net.IP
}

Jump to

Keyboard shortcuts

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