Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ContentsCmd = &cobra.Command{
Use: "contents",
Short: "List keys in a token",
RunE: contentsCmd,
}
View Source
var ImportKeyCmd = &cobra.Command{
Use: "import-key",
Short: "Import a private key to a token",
RunE: importKeyCmd,
}
View Source
var NewPgpKeyCmd = &cobra.Command{
Use: "pgp-generate",
Short: "Generate a new PGP key from token",
RunE: newPgpKeyCmd,
}
View Source
var PingCmd = &cobra.Command{
Use: "ping",
Short: "Check whether a token is working",
RunE: pingCmd,
}
View Source
var ReqCmd = &cobra.Command{
Use: "x509-request",
Short: "Generate PKCS#10 certificate signing request",
}
View Source
var SelfSignCmd = &cobra.Command{
Use: "x509-self-sign",
Short: "Generate self-signed X509 certificate",
}
View Source
var SignCmd = &cobra.Command{
Use: "sign",
Short: "Sign a package using a token",
RunE: signCmd,
}
View Source
var SignCsrCmd = &cobra.Command{
Use: "x509-sign",
Short: "Create a X509 certificate from a certificate signing request",
RunE: signCsrCmd,
}
View Source
var SignPgpCmd = &cobra.Command{
Use: "sign-pgp",
Short: "Create PGP signatures",
Long: "This command is vaguely compatible with the gpg command-line and accepts (and mostly, ignores) many of gpg's options. It can thus be used as a drop-in replacement for tools that use gpg to make signatures.",
RunE: signPgpCmd,
}
View Source
var TokenCmd = &cobra.Command{
Use: "token",
Short: "View and manipulate token objects",
}
View Source
var TokensCmd = &cobra.Command{
Use: "list",
Short: "List tokens provided by a driver",
RunE: tokensCmd,
}
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.