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