'Signed data can be verified using EC.'

def test_signAndVerifyEC(self):

    data = 'some-data'
    key = keys.Key.fromString(keydata.privateECDSA_openssh)
    signature = key.sign(data)
    key384 = keys.Key.fromString(keydata.privateECDSA_openssh384)
    signature384 = key384.sign(data)
    key521 = keys.Key.fromString(keydata.privateECDSA_openssh521)
    signature521 = key521.sign(data)
    self.assertTrue(key.public().verify(signature, data))
    self.assertTrue(key.verify(signature, data))
    self.assertTrue(key384.public().verify(signature384, data))
    self.assertTrue(key384.verify(signature384, data))
    self.assertTrue(key521.public().verify(signature521, data))
    self.assertTrue(key521.verify(signature521, data))
