public void SignWithKey() { Assert.AreEqual(ExpectedSignature, UonetRequestSigner.SignContent(PrivateKey, Content)); }
public void GetPrivateKeyFromCert() { Assert.AreEqual(PrivateKey, UonetRequestSigner.GetPrivateKeyFromCertEncoded(Password, Certificate)); }
public void SignWithCert() { Assert.AreEqual(ExpectedSignature, UonetRequestSigner.SignContent(Password, Certificate, Content)); }