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

def test_fromPrivateBlobRSA(self):

    rsaBlob = ((((((common.NS('ssh-rsa') + common.MP(keydata.RSAData['n'])) + common.MP(keydata.RSAData['e'])) + common.MP(keydata.RSAData['d'])) + common.MP(keydata.RSAData['u'])) + common.MP(keydata.RSAData['p'])) + common.MP(keydata.RSAData['q']))
    rsaKey = keys.Key._fromString_PRIVATE_BLOB(rsaBlob)
    self.assertFalse(rsaKey.isPublic())
    self.assertEqual(keydata.RSAData, rsaKey.data())
