cmd

package
v0.0.0-...-3b69051 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateZHKeyCmd

func GenerateZHKeyCmd() *cobra.Command

func GetZHKeyCmd

func GetZHKeyCmd() *cobra.Command

func NewCsrCmd

func NewCsrCmd() *cobra.Command

func NewCsrTemplate

func NewCsrTemplate(subj string, publicKey *sm2.PublicKey) (*x509GM.CertificateRequest, error)

func NewICACmd

func NewICACmd() *cobra.Command

func SignByteCmd

func SignByteCmd() *cobra.Command

func SignCmd

func SignCmd() *cobra.Command

Types

type Command

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

func NewCommand

func NewCommand(name string) *Command

func (*Command) Execute

func (cmd *Command) Execute() error

Jump to

Keyboard shortcuts

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