38 references to ProtectionLevelHelper
System.ServiceModel (38)
System\ServiceModel\Channels\ContextBindingElement.cs (1)
114if (!ProtectionLevelHelper.IsDefined(value))
System\ServiceModel\Channels\SecurityBindingElement.cs (4)
833(ProtectionLevelHelper.IsStrongerOrEqual(supportedRequestProtectionLevel, defaultProtectionLevel) 834&& ProtectionLevelHelper.IsStrongerOrEqual(supportedResponseProtectionLevel, defaultProtectionLevel)); 910ProtectionLevel requestProtectionLevel = ProtectionLevelHelper.Max(thisSecurityCapability.SupportedRequestProtectionLevel, lowerSecurityCapability.SupportedRequestProtectionLevel); 911ProtectionLevel responseProtectionLevel = ProtectionLevelHelper.Max(thisSecurityCapability.SupportedResponseProtectionLevel, lowerSecurityCapability.SupportedResponseProtectionLevel);
System\ServiceModel\Channels\WindowsStreamSecurityBindingElement.cs (1)
43ProtectionLevelHelper.Validate(value);
System\ServiceModel\Configuration\ContextBindingElementExtensionElement.cs (1)
54[ServiceModelEnumValidator(typeof(ProtectionLevelHelper))]
System\ServiceModel\Configuration\MsmqTransportSecurityElement.cs (1)
36[ServiceModelEnumValidator(typeof(ProtectionLevelHelper))]
System\ServiceModel\Configuration\NamedPipeTransportSecurityElement.cs (1)
19[ServiceModelEnumValidator(typeof(ProtectionLevelHelper))]
System\ServiceModel\Configuration\NetTcpContextBindingElement.cs (1)
49[ServiceModelEnumValidator(typeof(ProtectionLevelHelper))]
System\ServiceModel\Configuration\Properties.cs (6)
144properties.Add(new ConfigurationProperty("protectionLevel", typeof(System.Net.Security.ProtectionLevel), System.Net.Security.ProtectionLevel.Sign, null, new System.ServiceModel.Configuration.ServiceModelEnumValidator(typeof(System.ServiceModel.Security.ProtectionLevelHelper)), System.Configuration.ConfigurationPropertyOptions.None)); 171properties.Add(new ConfigurationProperty("contextProtectionLevel", typeof(System.Net.Security.ProtectionLevel), System.Net.Security.ProtectionLevel.Sign, null, new System.ServiceModel.Configuration.ServiceModelEnumValidator(typeof(System.ServiceModel.Security.ProtectionLevelHelper)), System.Configuration.ConfigurationPropertyOptions.None)); 197properties.Add(new ConfigurationProperty("contextProtectionLevel", typeof(System.Net.Security.ProtectionLevel), System.Net.Security.ProtectionLevel.Sign, null, new System.ServiceModel.Configuration.ServiceModelEnumValidator(typeof(System.ServiceModel.Security.ProtectionLevelHelper)), System.Configuration.ConfigurationPropertyOptions.None)); 1979properties.Add(new ConfigurationProperty("msmqProtectionLevel", typeof(System.Net.Security.ProtectionLevel), System.Net.Security.ProtectionLevel.Sign, null, new System.ServiceModel.Configuration.ServiceModelEnumValidator(typeof(System.ServiceModel.Security.ProtectionLevelHelper)), System.Configuration.ConfigurationPropertyOptions.None)); 2108properties.Add(new ConfigurationProperty("protectionLevel", typeof(System.Net.Security.ProtectionLevel), System.Net.Security.ProtectionLevel.EncryptAndSign, null, new System.ServiceModel.Configuration.ServiceModelEnumValidator(typeof(System.ServiceModel.Security.ProtectionLevelHelper)), System.Configuration.ConfigurationPropertyOptions.None)); 3528properties.Add(new ConfigurationProperty("protectionLevel", typeof(System.Net.Security.ProtectionLevel), System.Net.Security.ProtectionLevel.EncryptAndSign, null, new System.ServiceModel.Configuration.ServiceModelEnumValidator(typeof(System.ServiceModel.Security.ProtectionLevelHelper)), System.Configuration.ConfigurationPropertyOptions.None));
System\ServiceModel\Configuration\TcpTransportSecurityElement.cs (1)
29[ServiceModelEnumValidator(typeof(ProtectionLevelHelper))]
System\ServiceModel\Configuration\WSHttpContextBindingElement.cs (1)
49[ServiceModelEnumValidator(typeof(ProtectionLevelHelper))]
System\ServiceModel\Description\ContractDescription.cs (1)
109if (!ProtectionLevelHelper.IsDefined(value))
System\ServiceModel\Description\FaultDescription.cs (1)
77if (!ProtectionLevelHelper.IsDefined(value))
System\ServiceModel\Description\MessageDescription.cs (1)
106if (!ProtectionLevelHelper.IsDefined(value))
System\ServiceModel\Description\MessagePartDescription.cs (1)
119if (!ProtectionLevelHelper.IsDefined(value))
System\ServiceModel\Description\OperationDescription.cs (1)
122if (!ProtectionLevelHelper.IsDefined(value))
System\ServiceModel\Description\OperationGenerator.cs (2)
611protectionLevel = ProtectionLevelHelper.Max(protectionLevel, messageDescription.Body.ReturnValue.ProtectionLevel); 620protectionLevel = ProtectionLevelHelper.Max(protectionLevel, part.ProtectionLevel);
System\ServiceModel\Dispatcher\SecurityValidationBehavior.cs (2)
555requestValidated = ProtectionLevelHelper.IsStrongerOrEqual(capabilities.SupportedRequestProtectionLevel, request); 559responseValidated = ProtectionLevelHelper.IsStrongerOrEqual(capabilities.SupportedResponseProtectionLevel, response);
System\ServiceModel\FaultContractAttribute.cs (1)
80if (!ProtectionLevelHelper.IsDefined(value))
System\ServiceModel\MessageContractAttribute.cs (1)
31if (!ProtectionLevelHelper.IsDefined(value))
System\ServiceModel\MessageContractMemberAttribute.cs (1)
79if (!ProtectionLevelHelper.IsDefined(value))
System\ServiceModel\MsmqTransportSecurity.cs (1)
88if (!ProtectionLevelHelper.IsDefined(value))
System\ServiceModel\NamedPipeTransportSecurity.cs (1)
29if (!ProtectionLevelHelper.IsDefined(value))
System\ServiceModel\NetTcpContextBinding.cs (1)
84if (!ProtectionLevelHelper.IsDefined(value))
System\ServiceModel\OperationContractAttribute.cs (1)
68if (!ProtectionLevelHelper.IsDefined(value))
System\ServiceModel\Security\ChannelProtectionRequirements.cs (1)
294bodyProtectionLevel = ProtectionLevelHelper.Max(bodyProtectionLevel, partProtectionLevel);
System\ServiceModel\ServiceContractAttribute.cs (1)
81if (!ProtectionLevelHelper.IsDefined(value))
System\ServiceModel\TcpTransportSecurity.cs (1)
53if (!ProtectionLevelHelper.IsDefined(value))
System\ServiceModel\WSHttpContextBinding.cs (1)
84if (!ProtectionLevelHelper.IsDefined(value))