Parse PEM RSA keys ourself, and use libgcrypt to do RSA encryption and decryption.