pub fn generate(kt: &KeyPairType) -> Result<CommandOutput>
Generates a keypair of the specified KeyPairType