Esempio n. 1
0
 public void RsaHelperCreateSymmetricKeyShouldSucceed()
 {
     var directory = TestContext.DeploymentDirectory;
     var helper = new RsaHelper(Path.Combine(directory, "TestCertificate.pfx"), CertificatePassword);
     var keySet = helper.CreateNewAesSymmetricKeyset();
     keySet.Should().NotBeNull("Because encryption failed");
 }