public void RSAVerifyDataTest() { string sign = OuatTools.RSASignData(TestLongText, Writer[1], config[0]); bool verify = OuatTools.RSAVerifyData(TestLongText, Writer[0], sign); Assert.IsNotNull(sign); Assert.IsTrue(verify); }
public void RSASignDataTest() { string sign = OuatTools.RSASignData(TestText, Writer[1], config[0]); Assert.IsNotNull(sign); }