'Sign data with an RSA private key and then verify it with the public
key.'

def test_signDataRSA(self):

    d = self.client.signData(self.rsaPublic.blob(), 'John    Hancock')
    self.pump.flush()
    signature = self.successResultOf(d)
    expected = self.rsaPrivate.sign('John    Hancock')
    self.assertEqual(expected, signature)
    self.assertTrue(self.rsaPublic.verify(signature, 'John    Hancock'))
