csr

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenCert

func GenCert(c ctl.Control, p interface{}) error

GenCert generates a cert

func GenKey

func GenKey(c ctl.Control, p interface{}) error

GenKey generates a key

func SignCert

func SignCert(c ctl.Control, p interface{}) error

SignCert signs a cert

Types

type GenCertFlags

type GenCertFlags struct {
	// CA specifies file name with CA cert
	CA *string
	// CAKey specifies file name with CA key
	CAKey *string
	// CAConfig specifies file name with ca-config
	CAConfig *string
	// CsrProfile specifies file name with CSR profile
	CsrProfile *string
	// Label specifies name for generated key
	Label *string
	// Hostname specifies Host name for generated cert
	Hostname *string
	// Profile specifies the profile name from ca-config
	Profile *string
	// Output specifies the optional prefix for output files,
	// if not set, the output will be printed to STDOUT only
	Output *string
}

GenCertFlags specifies flags for GenCert command

type GenKeyFlags

type GenKeyFlags struct {
	// Initca specifies if it's a request for self-signed CA cert
	Initca *bool
	// CsrProfile specifies file name with CSR profile
	CsrProfile *string
	// Label specifies name for generated key
	Label *string
	// Output specifies the optional prefix for output files,
	// if not set, the output will be printed to STDOUT only
	Output *string
}

GenKeyFlags specifies flags for GenKey command

type SignCertFlags

type SignCertFlags struct {
	// CA specifies file name with CA cert
	CA *string
	// CAKey specifies file name with CA key
	CAKey *string
	// CAConfig specifies file name with ca-config
	CAConfig *string
	// Csr specifies file name with pem-encoded CSR
	Csr *string
	// Hostname specifies Host name for generated cert
	Hostname *string
	// Profile specifies the profile name from ca-config
	Profile *string
	// Output specifies the optional prefix for output files,
	// if not set, the output will be printed to STDOUT only
	Output *string
}

SignCertFlags specifies flags for SignCert command

Jump to

Keyboard shortcuts

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