Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GenkeyCmd = &cobra.Command{
Use: "genkey",
Short: "Generating public/private ed25519 key pair",
Long: `Generating public/private ed25519 key pair`,
Run: genkey,
}
View Source
var RootCmd = &cobra.Command{
Use: "kepler",
Short: "An example of cobra",
Long: `This application shows how to create modern CLI
applications in go using Cobra CLI library`,
}
View Source
var ShowCmd = &cobra.Command{
Use: "show",
Short: "display csr or crt contents",
Long: `display csr or crt contents`,
Run: show,
}
View Source
var SignCmd = &cobra.Command{
Use: "sign",
Short: "Sign certificate",
Long: `Sign certificate`,
Run: sign,
}
View Source
var TrustCmd *cobra.Command = &cobra.Command{
Use: "trust",
Short: "add trust certificate",
Long: `add trust certificate`,
Run: trust,
}
View Source
var VerifyCmd = &cobra.Command{
Use: "verify",
Short: "verify certificate signature",
Long: `verify certificate signature`,
Run: verify,
}
Functions ¶
func MustMarshalBinaryBare ¶
func MustMarshalBinaryBare(obj interface{}) []byte
func MustMarshalJson ¶
func MustMarshalJson(obj interface{}) []byte
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.