Fixed export_rsa methods