parsing keys from openpgp file to Openssl's RSA struct