RemoveSecretBag() public method

public RemoveSecretBag ( byte secret ) : void
secret byte
return void
Ejemplo n.º 1
0
		public void RemoveSecretBag_Test1 ()
		{
			PKCS12 p12 = new PKCS12 ();
			p12.AddSecretBag (secret);

			Assert.AreEqual (1, p12.Secrets.Count, "RSB1.1");

			p12.RemoveSecretBag (secret);

			Assert.AreEqual (0, p12.Secrets.Count, "RSB1.2");
		}