Example #1
0
		internal SymmetricAlgorithm GetDecryptionAlgorithm ()
		{
			string name;

			if (decryption_key_name == null || decryption_key_name.StartsWith ("AutoGenerate"))
				name = "Auto";
			else
				name = decryption_key_name;
			
			return MachineKeySectionUtils.GetDecryptionAlgorithm (name);
		}
Example #2
0
 internal SymmetricAlgorithm GetDecryptionAlgorithm()
 {
     // code location to help with unit testing the code
     return(MachineKeySectionUtils.GetDecryptionAlgorithm(Decryption));
 }