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

def test_fromPrivateBlobECDSA(self):

    ecblob = (((common.NS(keydata.ECDatanistp256['curve']) + common.MP(keydata.ECDatanistp256['x'])) + common.MP(keydata.ECDatanistp256['y'])) + common.MP(keydata.ECDatanistp256['privateValue']))
    eckey = keys.Key._fromString_PRIVATE_BLOB(ecblob)
    self.assertFalse(eckey.isPublic())
    self.assertEqual(keydata.ECDatanistp256, eckey.data())
