20 references to MsmqSecureHashAlgorithm
System.ServiceModel (20)
System\ServiceModel\Channels\TransportDefaults.cs (4)
166
internal const
MsmqSecureHashAlgorithm
DefaultMsmqSecureHashAlgorithm = System.ServiceModel.
MsmqSecureHashAlgorithm
.Sha256;
167
internal static
MsmqSecureHashAlgorithm
MsmqSecureHashAlgorithm { get { return LocalAppContextSwitches.UseSha1InMsmqEncryptionAlgorithm ?
MsmqSecureHashAlgorithm
.Sha1 : DefaultMsmqSecureHashAlgorithm; } }
System\ServiceModel\Configuration\MsmqTransportSecurityElement.cs (2)
45
public
MsmqSecureHashAlgorithm
MsmqSecureHashAlgorithm
47
get { return (
MsmqSecureHashAlgorithm
)(base[ConfigurationStrings.MsmqSecureHashAlgorithm] ?? MsmqDefaults.MsmqSecureHashAlgorithm); }
System\ServiceModel\Configuration\Properties.cs (2)
1980
properties.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)
18
public static bool IsDefined(
MsmqSecureHashAlgorithm
algorithm)
20
return algorithm ==
MsmqSecureHashAlgorithm
.MD5 ||
21
algorithm ==
MsmqSecureHashAlgorithm
.Sha1 ||
22
algorithm ==
MsmqSecureHashAlgorithm
.Sha256 ||
23
algorithm ==
MsmqSecureHashAlgorithm
.Sha512;
26
public static int ToInt32(
MsmqSecureHashAlgorithm
algorithm)
30
case
MsmqSecureHashAlgorithm
.MD5:
32
case
MsmqSecureHashAlgorithm
.Sha1:
34
case
MsmqSecureHashAlgorithm
.Sha256:
36
case
MsmqSecureHashAlgorithm
.Sha512:
System\ServiceModel\MsmqTransportSecurity.cs (2)
17
MsmqSecureHashAlgorithm
msmqHashAlgorithm;
71
public
MsmqSecureHashAlgorithm
MsmqSecureHashAlgorithm