gen

package
v0.0.1-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CSR

func CSR(mods ...CSRModifier) ([]byte, error)

Types

type CSRBuilder

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

type CSRModifier

type CSRModifier func(*CSRBuilder)

func SetCSRCommonName

func SetCSRCommonName(cn string) CSRModifier

func SetCSRDNS

func SetCSRDNS(dns []string) CSRModifier

func SetCSREmails

func SetCSREmails(emails []string) CSRModifier

func SetCSRIPs

func SetCSRIPs(ips []string) CSRModifier

func SetCSRIdentities

func SetCSRIdentities(ids []string) CSRModifier

Jump to

Keyboard shortcuts

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