Documentation
¶
Index ¶
Constants ¶
View Source
const TIME_LAYOUT = "20060102150405"
YYYYMMDDhhmmss
Variables ¶
This section is empty.
Functions ¶
func CmdCertCli ¶ added in v1.5.0
(AI GENERATED DESCRIPTION): Creates a Cobra command for the NDNCERT certificate client, setting its usage, flags, and run logic.
Types ¶
type CertClient ¶ added in v1.5.0
type CertClient struct {
// contains filtered or unexported fields
}
func (*CertClient) String ¶ added in v1.5.0
func (c *CertClient) String() string
(AI GENERATED DESCRIPTION): Returns the string representation of the CertClient, which is the constant "ndncert-cli".
type ToolKeychain ¶ added in v1.5.0
type ToolKeychain struct{}
func (*ToolKeychain) Export ¶ added in v1.5.0
func (*ToolKeychain) Export(_ *cobra.Command, args []string)
(AI GENERATED DESCRIPTION): Exports a specified key (or an identity’s default key) from a keychain, PEM‑encodes its secret key, and writes it to standard output.
type ToolKeygen ¶ added in v1.5.0
type ToolKeygen struct{}
Click to show internal directories.
Click to hide internal directories.