If for whatever reason the method
fails to complete, the method will return some text stating exactly
what has gone wrong.
Once some keys have been generated
they cannot be modified in the keyring, you can only create new keys with different
When generating new keys
you must specify the Password that the
new key should have.
also specify the KeyID that the new key
should have. The KeyId is how you refer
to the key in future.
also need to specify the KeySize of the
new keys. This is the strength of the keys, the higher the KeySize
you use the stronger the encryption will be, but also slower. You
can specify 1024 -> 4096 for the keysize.
need to specify the KeyFolder, this is
the directory which will contain the new public/private keyrings if
they do not already exist, or will contain the existing keyrings
that the new keys will be added to.
You must also specify the KeyType
of the new keys. This is either "RSA" or "DH/DSS"