64 references to None
System (3)
net\System\Net\SecureProtocols\_NegoState.cs (3)
173if (protectionLevel == ProtectionLevel.None && !isServer) 200if (protectionLevel != ProtectionLevel.None) {flags |= ContextFlags.MutualAuth;} 537ProtectionLevel result = _Context.IsConfidentialityFlag? ProtectionLevel.EncryptAndSign: _Context.IsIntegrityFlag? ProtectionLevel.Sign: ProtectionLevel.None;
System.ServiceModel (58)
System\ServiceModel\BasicHttpContextBinding.cs (1)
87result.Insert(0, new ContextBindingElement(ProtectionLevel.None, ContextExchangeMechanism.HttpCookie, null, this.ContextManagementEnabled));
System\ServiceModel\Channels\AsymmetricSecurityBindingElement.cs (1)
146responseProtectionLevel = ProtectionLevel.None;
System\ServiceModel\Channels\CompositeDuplexBindingElement.cs (1)
147System.Net.Security.ProtectionLevel.None));
System\ServiceModel\Channels\ContextBindingElement.cs (1)
209if (typeof(T) == typeof(ChannelProtectionRequirements) && this.ProtectionLevel != ProtectionLevel.None)
System\ServiceModel\Channels\ContextBindingElementPolicy.cs (1)
144bindingElement = new ContextBindingElement(ProtectionLevel.None);
System\ServiceModel\Channels\HttpTransportBindingElement.cs (2)
501ProtectionLevel.None, 502ProtectionLevel.None);
System\ServiceModel\Channels\InternalDuplexBindingElement.cs (1)
125System.Net.Security.ProtectionLevel.None));
System\ServiceModel\Channels\Msmq.cs (1)
128if (null != xpSendLock && (ProtectionLevel.None != protectionLevel))
System\ServiceModel\Channels\MsmqBindingElementBase.cs (2)
343if (this.MsmqTransportSecurity.MsmqProtectionLevel != ProtectionLevel.None) 396this.MsmqTransportSecurity.MsmqProtectionLevel = ProtectionLevel.None;
System\ServiceModel\Channels\MsmqVerifier.cs (3)
147if (security.MsmqAuthenticationMode == MsmqAuthenticationMode.None && security.MsmqProtectionLevel != ProtectionLevel.None) 151if (security.MsmqAuthenticationMode == MsmqAuthenticationMode.Certificate && security.MsmqProtectionLevel == ProtectionLevel.None) 157if (security.MsmqProtectionLevel == ProtectionLevel.None)
System\ServiceModel\Channels\SecurityBindingElement.cs (1)
839if (defaultProtectionLevel != ProtectionLevel.None)
System\ServiceModel\Channels\SecurityBindingElementImporter.cs (3)
224ProtectionLevel contractProtectionLevel = ProtectionLevel.None; 264ProtectionLevel protectionLevel = ProtectionLevel.None; 466result = ProtectionLevel.None;
System\ServiceModel\Channels\SecurityCapabilities.cs (2)
35get { return new SecurityCapabilities(false, false, false, ProtectionLevel.None, ProtectionLevel.None); }
System\ServiceModel\Channels\TransportSecurityBindingElement.cs (2)
37ProtectionLevel.None, ProtectionLevel.None);
System\ServiceModel\Description\FaultDescription.cs (1)
96this.protectionLevel = ProtectionLevel.None;
System\ServiceModel\Description\MessageDescription.cs (1)
183this.protectionLevel = ProtectionLevel.None;
System\ServiceModel\Description\MessagePartDescription.cs (1)
157this.protectionLevel = ProtectionLevel.None;
System\ServiceModel\Description\OperationDescription.cs (1)
276this.protectionLevel = ProtectionLevel.None;
System\ServiceModel\Description\OperationGenerator.cs (1)
605System.Net.Security.ProtectionLevel protectionLevel = System.Net.Security.ProtectionLevel.None;
System\ServiceModel\Dispatcher\SecurityValidationBehavior.cs (13)
409ValidateContract(binding, contract, ProtectionLevel.None, ProtectionLevel.None); 414ValidateContract(binding, contract, ProtectionLevel.None, ProtectionLevel.None); 479if (header.IsUnknownHeaderCollection && headerScopeDefaultProtectionLevel != ProtectionLevel.None) 496ValidateContract(binding, contract, ProtectionLevel.None, ProtectionLevel.None); 501ValidateContract(binding, contract, ProtectionLevel.None, ProtectionLevel.None); 518request = ProtectionLevel.None; 531response = ProtectionLevel.None; 545bool requestValidated = request == ProtectionLevel.None; 546bool responseValidated = response == ProtectionLevel.None;
System\ServiceModel\FaultContractAttribute.cs (1)
19ProtectionLevel protectionLevel = ProtectionLevel.None;
System\ServiceModel\MessageContractAttribute.cs (1)
19ProtectionLevel protectionLevel = ProtectionLevel.None;
System\ServiceModel\MessageContractMemberAttribute.cs (1)
18ProtectionLevel protectionLevel = ProtectionLevel.None;
System\ServiceModel\MsmqTransportSecurity.cs (2)
42return this.msmqAuthenticationMode != MsmqAuthenticationMode.None && this.msmqProtectionLevel != ProtectionLevel.None; 97this.msmqProtectionLevel = ProtectionLevel.None;
System\ServiceModel\OperationContractAttribute.cs (1)
22ProtectionLevel protectionLevel = ProtectionLevel.None;
System\ServiceModel\PeerHopCountAttribute.cs (1)
23base.ProtectionLevel = ProtectionLevel.None;
System\ServiceModel\PeerSecuritySettings.cs (1)
69System.Net.Security.ProtectionLevel level = System.Net.Security.ProtectionLevel.None;
System\ServiceModel\Security\ChannelProtectionRequirements.cs (6)
54this.incomingSignatureParts = new ScopedMessagePartSpecification(other.incomingSignatureParts, newBodyProtectionLevel != ProtectionLevel.None); 56this.outgoingSignatureParts = new ScopedMessagePartSpecification(other.outgoingSignatureParts, newBodyProtectionLevel != ProtectionLevel.None); 271bodyProtectionLevel = ProtectionLevel.None; 299if (bodyProtectionLevel != ProtectionLevel.None) 338if (p != ProtectionLevel.None) 359if (p != ProtectionLevel.None)
System\ServiceModel\Security\SecurityUtils.cs (3)
56return (value == ProtectionLevel.None 73|| (v1 == ProtectionLevel.Sign && v2 == ProtectionLevel.None)); 96case ProtectionLevel.None:
System\ServiceModel\ServiceContractAttribute.cs (1)
23ProtectionLevel protectionLevel = ProtectionLevel.None;
System.ServiceModel.Activities (2)
System\ServiceModel\Activities\WorkflowService.cs (2)
1147if ((!targetOperation.HasProtectionLevel && receiveActivity.ProtectionLevel.HasValue && receiveActivity.ProtectionLevel != Net.Security.ProtectionLevel.None) 1149|| (!receiveActivity.ProtectionLevel.HasValue && targetOperation.ProtectionLevel != Net.Security.ProtectionLevel.None))
System.WorkflowServices (1)
System\Workflow\Activities\Design\ServiceOperationDetailViewControl.cs (1)
44this.protectionLevelComboBox.Items.Add(ProtectionLevel.None);