Updated the constructor to discard non RSA keys