public void L1_Verify_Signature_With_Wrong_BaseString_Test() { Assert.IsFalse(expectedResult.VerifyL1Signature(secret, baseString + 'x')); Assert.IsFalse(ApiAuthorization.VerifyL1Signature(expectedResult, secret, baseString + 'x')); }
public void L1_Verify_Signature_Test() { Assert.IsTrue(expectedResult.VerifyL1Signature(secret, baseString)); Assert.IsTrue(ApiAuthorization.VerifyL1Signature(expectedResult, secret, baseString)); }