rsakeypair

package
v2.0.0-...-98cc131 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Names = names.RSAKeyPair
	Verb  = verbs.Create
)

Functions

func NewCommand

func NewCommand(ctx clictx.Context, names ...string) *cobra.Command

NewCommand creates a new artifact command.

Types

type Command

type Command struct {
	utils.BaseCommand

	Subject     *pkix.Name
	MoreIssuers []string

	Validity time.Duration
	CACert   *x509.Certificate
	CAKey    interface{}
	// contains filtered or unexported fields
}

func (*Command) AddFlags

func (o *Command) AddFlags(set *pflag.FlagSet)

func (*Command) Complete

func (o *Command) Complete(args []string) error

func (*Command) FilterSettings

func (o *Command) FilterSettings(args ...string) []string

func (*Command) ForName

func (o *Command) ForName(name string) *cobra.Command

func (*Command) Run

func (o *Command) Run() error

func (*Command) WriteKey

func (o *Command) WriteKey(key interface{}, path string) error

Jump to

Keyboard shortcuts

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