Documentation ¶
Index ¶
- func GenKey(c ctl.Control, p interface{}) error
- func KeyInfo(c ctl.Control, p interface{}) error
- func Keys(c ctl.Control, p interface{}) error
- func RmKey(c ctl.Control, p interface{}) error
- func Slots(c ctl.Control, _ interface{}) error
- type GenKeyFlags
- type KeyInfoFlags
- type LsKeyFlags
- type RmKeyFlags
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GenKeyFlags ¶
type GenKeyFlags struct { // Algo specifies algorithm Algo *string // Size specifies key size in bits Size *int // Purpose Purpose *string // Label specifies name for generated key Label *string // Output specifies the prefix for generated key // if not set, the output will be printed to STDOUT only Output *string // Force to override key file if exists Force *bool }
GenKeyFlags specifies flags for GenKey command
type KeyInfoFlags ¶
type KeyInfoFlags struct { // Token specifies slot token Token *string // Serial specifies slot serial Serial *string // ID specifies key Id ID *string // Prefix specifies if public key should be listed Public *bool }
KeyInfoFlags specifies flags for the key info action
type LsKeyFlags ¶
type LsKeyFlags struct { // Token specifies slot token Token *string // Serial specifies slot serial Serial *string // Prefix specifies key label prefix Prefix *string }
LsKeyFlags specifies flags for the Keys action
type RmKeyFlags ¶
type RmKeyFlags struct { // Token specifies slot token Token *string // Serial specifies slot serial Serial *string // ID specifies key Id ID *string // Prefix specifies key label prefix Prefix *string // Force specifies an option to delete keys without additional confirmation Force *bool }
RmKeyFlags specifies flags for the delete key action
Click to show internal directories.
Click to hide internal directories.