'Verify RSA-SHA1 signature against one created by OpenSSL.'

def test_sign_rsa_sha1(self):

    base_string = self.control_base_string_rsa_sha1
    private_key = self.rsa_private_key
    control_signature = self.control_signature_rsa_sha1
    sign = sign_rsa_sha1(base_string, private_key)
    self.assertEqual(sign, control_signature)
    sign = sign_rsa_sha1(base_string.decode(u'utf-8'), private_key)
    self.assertEqual(sign, control_signature)
