Added ability to generate and export RSA keys