Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Args = flag.NewFlagSet("createKey", flag.ExitOnError)
Args is a flagset that needs to be exported so that it can be written to the main program help
View Source
var Usage = `` /* 566-byte string literal not displayed */
Usage text that will be displayed when the `help createKey` command is invoked.
Functions ¶
func CreateKey ¶
CreateKey takes two arguments, a base filename, and optionally an output directory specified with `-outdir`.
func GenerateKeyPair ¶
GenerateKeyPair generates a crypt4gh key pair and saves it to the `<basename>.pub.pem` and `<basename>.sec.pem` files. If any of the files already exists, the function will instead return an error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.