64 references to EncryptAndSign
System (12)
net\System\Net\SecureProtocols\_NegoState.cs (2)
178else if (protectionLevel == ProtectionLevel.EncryptAndSign) 537ProtectionLevel result = _Context.IsConfidentialityFlag? ProtectionLevel.EncryptAndSign: _Context.IsIntegrityFlag? ProtectionLevel.Sign: ProtectionLevel.None;
net\System\Net\SecureProtocols\NegotiateStream.cs (10)
69AuthenticateAsClient((NetworkCredential)CredentialCache.DefaultCredentials, null, string.Empty, ProtectionLevel.EncryptAndSign, TokenImpersonationLevel.Identification); 73AuthenticateAsClient(credential, null, targetName, ProtectionLevel.EncryptAndSign, TokenImpersonationLevel.Identification); 77AuthenticateAsClient(credential, binding, targetName, ProtectionLevel.EncryptAndSign, TokenImpersonationLevel.Identification); 109ProtectionLevel.EncryptAndSign, TokenImpersonationLevel.Identification, 117ProtectionLevel.EncryptAndSign, TokenImpersonationLevel.Identification, 125ProtectionLevel.EncryptAndSign, TokenImpersonationLevel.Identification, 181AuthenticateAsServer((NetworkCredential)CredentialCache.DefaultCredentials, null, ProtectionLevel.EncryptAndSign, TokenImpersonationLevel.Identification); 186AuthenticateAsServer((NetworkCredential)CredentialCache.DefaultCredentials, policy, ProtectionLevel.EncryptAndSign, TokenImpersonationLevel.Identification); 215return BeginAuthenticateAsServer((NetworkCredential)CredentialCache.DefaultCredentials, null, ProtectionLevel.EncryptAndSign, TokenImpersonationLevel.Identification, asyncCallback, asyncState); 221return BeginAuthenticateAsServer((NetworkCredential)CredentialCache.DefaultCredentials, policy, ProtectionLevel.EncryptAndSign, TokenImpersonationLevel.Identification, asyncCallback, asyncState);
System.Runtime.Remoting (2)
channels\tcp\tcpclientchannel.cs (1)
348private ProtectionLevel _protectionLevel = ProtectionLevel.EncryptAndSign;
channels\tcp\tcpserverchannel.cs (1)
51private ProtectionLevel _protectionLevel = ProtectionLevel.EncryptAndSign; // default is encrypt and sign is secure is true
System.ServiceModel (49)
System\ServiceModel\Channels\AsymmetricSecurityBindingElement.cs (2)
139ProtectionLevel requestProtectionLevel = ProtectionLevel.EncryptAndSign; 140ProtectionLevel responseProtectionLevel = ProtectionLevel.EncryptAndSign;
System\ServiceModel\Channels\CallbackContextMessageHeader.cs (1)
61if (protectionLevel == ProtectionLevel.EncryptAndSign)
System\ServiceModel\Channels\ContextBindingElementPolicy.cs (2)
56case ProtectionLevel.EncryptAndSign: 136bindingElement = new ContextBindingElement(ProtectionLevel.EncryptAndSign);
System\ServiceModel\Channels\ContextMessageHeader.cs (1)
73if (protectionLevel == ProtectionLevel.EncryptAndSign)
System\ServiceModel\Channels\HttpsTransportBindingElement.cs (2)
154ProtectionLevel.EncryptAndSign, 155ProtectionLevel.EncryptAndSign);
System\ServiceModel\Channels\MsmqOutputMessage.cs (2)
96if (ProtectionLevel.EncryptAndSign == factory.MsmqTransportSecurity.MsmqProtectionLevel) 117if (ProtectionLevel.EncryptAndSign == factory.MsmqTransportSecurity.MsmqProtectionLevel)
System\ServiceModel\Channels\MsmqVerifier.cs (1)
162if (security.MsmqProtectionLevel == ProtectionLevel.EncryptAndSign && useActiveDirectory.HasValue && !useActiveDirectory.Value)
System\ServiceModel\Channels\SecurityBindingElement.cs (1)
842if (defaultProtectionLevel == ProtectionLevel.EncryptAndSign)
System\ServiceModel\Channels\SecurityBindingElementImporter.cs (2)
407if (hasContractProtectionLevel && isContractProtectionLevelUniform && contractProtectionLevel == ProtectionLevel.EncryptAndSign) 453result = ProtectionLevel.EncryptAndSign;
System\ServiceModel\Channels\SslStreamSecurityBindingElement.cs (2)
147ProtectionLevel.EncryptAndSign, ProtectionLevel.EncryptAndSign);
System\ServiceModel\Channels\SymmetricSecurityBindingElement.cs (3)
108ProtectionLevel.EncryptAndSign, ProtectionLevel.EncryptAndSign); 391ChannelProtectionRequirements myRequirements = base.GetProtectionRequirements(addressing, ProtectionLevel.EncryptAndSign);
System\ServiceModel\Channels\TransportDefaults.cs (1)
257internal const ProtectionLevel ProtectionLevel = System.Net.Security.ProtectionLevel.EncryptAndSign;
System\ServiceModel\Channels\TransportSecurityBindingElement.cs (1)
282ChannelProtectionRequirements myRequirements = base.GetProtectionRequirements(addressing, ProtectionLevel.EncryptAndSign);
System\ServiceModel\Configuration\Properties.cs (3)
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)); 3735properties.Add(new ConfigurationProperty("protectionLevel", typeof(System.Net.Security.ProtectionLevel), System.Net.Security.ProtectionLevel.EncryptAndSign, null, new System.ServiceModel.Configuration.StandardRuntimeEnumValidator(typeof(System.Net.Security.ProtectionLevel)), System.Configuration.ConfigurationPropertyOptions.None));
System\ServiceModel\Dispatcher\SecurityValidationBehavior.cs (7)
526request = ProtectionLevel.EncryptAndSign; 539response = ProtectionLevel.EncryptAndSign; 658&& bootstrapSecurityCapabilities.SupportedRequestProtectionLevel == ProtectionLevel.EncryptAndSign 659&& bootstrapSecurityCapabilities.SupportedResponseProtectionLevel == ProtectionLevel.EncryptAndSign) 704&& transportCapabilities.SupportedRequestProtectionLevel == ProtectionLevel.EncryptAndSign 705&& transportCapabilities.SupportedResponseProtectionLevel == ProtectionLevel.EncryptAndSign) 952if (responseProtectionLevel == ProtectionLevel.EncryptAndSign)
System\ServiceModel\NamedPipeTransportSecurity.cs (1)
15internal const ProtectionLevel DefaultProtectionLevel = ProtectionLevel.EncryptAndSign;
System\ServiceModel\Security\ChannelProtectionRequirements.cs (6)
55this.incomingEncryptionParts = new ScopedMessagePartSpecification(other.incomingEncryptionParts, newBodyProtectionLevel == ProtectionLevel.EncryptAndSign); 57this.outgoingEncryptionParts = new ScopedMessagePartSpecification(other.outgoingEncryptionParts, newBodyProtectionLevel == ProtectionLevel.EncryptAndSign); 295if (bodyProtectionLevel == ProtectionLevel.EncryptAndSign) 302if (bodyProtectionLevel == ProtectionLevel.EncryptAndSign) 342if (p == ProtectionLevel.EncryptAndSign) 362if (p == ProtectionLevel.EncryptAndSign)
System\ServiceModel\Security\SecurityUtils.cs (6)
58|| value == ProtectionLevel.EncryptAndSign); 72return ((v1 == ProtectionLevel.EncryptAndSign && v2 != ProtectionLevel.EncryptAndSign) 78return (v1 == ProtectionLevel.EncryptAndSign 79|| (v1 == ProtectionLevel.Sign && v2 != ProtectionLevel.EncryptAndSign)); 100case ProtectionLevel.EncryptAndSign:
System\ServiceModel\Security\WSTrust.cs (2)
1262part.ProtectionLevel = System.Net.Security.ProtectionLevel.EncryptAndSign; 1267message.Body.ReturnValue.ProtectionLevel = System.Net.Security.ProtectionLevel.EncryptAndSign;
System\ServiceModel\TcpTransportSecurity.cs (3)
18internal const ProtectionLevel DefaultProtectionLevel = ProtectionLevel.EncryptAndSign; 97if (this.protectionLevel != ProtectionLevel.EncryptAndSign) 116transportSecurity.ProtectionLevel = ProtectionLevel.EncryptAndSign;
System.WorkflowServices (1)
System\Workflow\Activities\Design\ServiceOperationDetailViewControl.cs (1)
46this.protectionLevelComboBox.Items.Add(ProtectionLevel.EncryptAndSign);