'A public RSA key is correctly generated from a public key blob.'

def test_fromBlobRSA(self):

    rsaPublicData = {'n': keydata.RSAData['n'], 'e': keydata.RSAData['e']}
    rsaBlob = ((common.NS('ssh-rsa') + common.MP(rsaPublicData['e'])) + common.MP(rsaPublicData['n']))
    rsaKey = keys.Key.fromString(rsaBlob)
    self.assertTrue(rsaKey.isPublic())
    self.assertEqual(rsaPublicData, rsaKey.data())
