'The PyCrypto key instance for an RSA public key has the same components
as the internal key.'

def test_keyObjectGetRSAPublic(self):

    key = keys.Key.fromString(keydata.publicRSA_openssh)
    result = key.keyObject
    self.assertIsInstance(result, Crypto.PublicKey.RSA._RSAobj)
    self.assertEqual(keydata.RSAData['e'], result.key.e)
    self.assertEqual(keydata.RSAData['n'], result.key.n)
