20 references to MsmqSecureHashAlgorithm
System.ServiceModel (20)
System\ServiceModel\Channels\TransportDefaults.cs (4)
166internal const MsmqSecureHashAlgorithm DefaultMsmqSecureHashAlgorithm = System.ServiceModel.MsmqSecureHashAlgorithm.Sha256; 167internal static MsmqSecureHashAlgorithm MsmqSecureHashAlgorithm { get { return LocalAppContextSwitches.UseSha1InMsmqEncryptionAlgorithm ? MsmqSecureHashAlgorithm.Sha1 : DefaultMsmqSecureHashAlgorithm; } }
System\ServiceModel\Configuration\MsmqTransportSecurityElement.cs (2)
45public MsmqSecureHashAlgorithm MsmqSecureHashAlgorithm 47get { return (MsmqSecureHashAlgorithm)(base[ConfigurationStrings.MsmqSecureHashAlgorithm] ?? MsmqDefaults.MsmqSecureHashAlgorithm); }
System\ServiceModel\Configuration\Properties.cs (2)
1980properties.Add(new ConfigurationProperty("msmqSecureHashAlgorithm", typeof(System.ServiceModel.MsmqSecureHashAlgorithm), System.ServiceModel.MsmqSecureHashAlgorithm.Sha1, null, new System.ServiceModel.Configuration.ServiceModelEnumValidator(typeof(System.ServiceModel.MsmqSecureHashAlgorithmHelper)), System.Configuration.ConfigurationPropertyOptions.None));
System\ServiceModel\MsmqSecureHashAlgorithm.cs (10)
18public static bool IsDefined(MsmqSecureHashAlgorithm algorithm) 20return algorithm == MsmqSecureHashAlgorithm.MD5 || 21algorithm == MsmqSecureHashAlgorithm.Sha1 || 22algorithm == MsmqSecureHashAlgorithm.Sha256 || 23algorithm == MsmqSecureHashAlgorithm.Sha512; 26public static int ToInt32(MsmqSecureHashAlgorithm algorithm) 30case MsmqSecureHashAlgorithm.MD5: 32case MsmqSecureHashAlgorithm.Sha1: 34case MsmqSecureHashAlgorithm.Sha256: 36case MsmqSecureHashAlgorithm.Sha512:
System\ServiceModel\MsmqTransportSecurity.cs (2)
17MsmqSecureHashAlgorithm msmqHashAlgorithm; 71public MsmqSecureHashAlgorithm MsmqSecureHashAlgorithm