示例#1
0
 public void SignWithKey()
 {
     Assert.AreEqual(ExpectedSignature, UonetRequestSigner.SignContent(PrivateKey, Content));
 }
示例#2
0
 public void GetPrivateKeyFromCert()
 {
     Assert.AreEqual(PrivateKey, UonetRequestSigner.GetPrivateKeyFromCertEncoded(Password, Certificate));
 }
示例#3
0
 public void SignWithCert()
 {
     Assert.AreEqual(ExpectedSignature, UonetRequestSigner.SignContent(Password, Certificate, Content));
 }