RsaDigitalSignatureTest.cs 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. using Microsoft.VisualStudio.TestTools.UnitTesting;
  2. using Renci.SshNet.Security;
  3. using Renci.SshNet.Security.Cryptography;
  4. using Renci.SshNet.Tests.Common;
  5. namespace Renci.SshNet.Tests.Classes.Security.Cryptography
  6. {
  7. /// <summary>
  8. /// Implements RSA digital signature algorithm.
  9. /// </summary>
  10. [TestClass]
  11. public class RsaDigitalSignatureTest : TestBase
  12. {
  13. /// <summary>
  14. ///A test for RsaDigitalSignature Constructor
  15. ///</summary>
  16. [TestMethod]
  17. [Ignore] // placeholder for actual test
  18. public void RsaDigitalSignatureConstructorTest()
  19. {
  20. RsaKey rsaKey = null; // TODO: Initialize to an appropriate value
  21. RsaDigitalSignature target = new RsaDigitalSignature(rsaKey);
  22. Assert.Inconclusive("TODO: Implement code to verify target");
  23. }
  24. /// <summary>
  25. ///A test for Dispose
  26. ///</summary>
  27. [TestMethod]
  28. [Ignore] // placeholder for actual test
  29. public void DisposeTest()
  30. {
  31. RsaKey rsaKey = null; // TODO: Initialize to an appropriate value
  32. RsaDigitalSignature target = new RsaDigitalSignature(rsaKey); // TODO: Initialize to an appropriate value
  33. target.Dispose();
  34. Assert.Inconclusive("A method that does not return a value cannot be verified.");
  35. }
  36. }
  37. }