'Signed data can be verified using RSA.'

def test_signAndVerifyRSA(self):

    data = 'some-data'
    key = keys.Key.fromString(keydata.privateRSA_openssh)
    signature = key.sign(data)
    self.assertTrue(key.public().verify(signature, data))
    self.assertTrue(key.verify(signature, data))
