63 references to EncryptAndSign
dotnet-svcutil-lib (33)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\AsymmetricSecurityBindingElement.cs (2)
406if (hasContractProtectionLevel && isContractProtectionLevelUniform && contractProtectionLevel == ProtectionLevel.EncryptAndSign) 452result = ProtectionLevel.EncryptAndSign;
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ContextBindingElementPolicy.cs (1)
98bindingElement = new ContextBindingElement(ProtectionLevel.EncryptAndSign);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpsTransportBindingElement.cs (2)
128ProtectionLevel.EncryptAndSign, 129ProtectionLevel.EncryptAndSign);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SecurityBindingElement.cs (1)
428if (defaultProtectionLevel == ProtectionLevel.EncryptAndSign)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SecurityBindingElementImporter.cs (2)
140ProtectionLevel requestProtectionLevel = ProtectionLevel.EncryptAndSign; 141ProtectionLevel responseProtectionLevel = ProtectionLevel.EncryptAndSign;
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SslStreamSecurityBindingElement.cs (2)
120ProtectionLevel.EncryptAndSign, ProtectionLevel.EncryptAndSign);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SymmetricSecurityBindingElement.cs (3)
109ProtectionLevel.EncryptAndSign, ProtectionLevel.EncryptAndSign); 171ChannelProtectionRequirements myRequirements = base.GetProtectionRequirements(addressing, ProtectionLevel.EncryptAndSign);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransportDefaults.cs (1)
204public const ProtectionLevel ProtectionLevel = System.Net.Security.ProtectionLevel.EncryptAndSign;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationDescription.cs (1)
84if (!(value == ProtectionLevel.None || value == ProtectionLevel.Sign || value == ProtectionLevel.EncryptAndSign))
FrameworkFork\System.ServiceModel\System\ServiceModel\NamedPipeTransportSecurity.cs (1)
14internal const ProtectionLevel DefaultProtectionLevel = ProtectionLevel.EncryptAndSign;
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\ChannelProtectionRequirements.cs (6)
54_incomingEncryptionParts = new ScopedMessagePartSpecification(other._incomingEncryptionParts, newBodyProtectionLevel == ProtectionLevel.EncryptAndSign); 56_outgoingEncryptionParts = new ScopedMessagePartSpecification(other._outgoingEncryptionParts, newBodyProtectionLevel == ProtectionLevel.EncryptAndSign); 289if (bodyProtectionLevel == ProtectionLevel.EncryptAndSign) 296if (bodyProtectionLevel == ProtectionLevel.EncryptAndSign) 336if (p == ProtectionLevel.EncryptAndSign) 356if (p == ProtectionLevel.EncryptAndSign)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityUtils.cs (6)
34|| value == ProtectionLevel.EncryptAndSign); 48return ((v1 == ProtectionLevel.EncryptAndSign && v2 != ProtectionLevel.EncryptAndSign) 54return (v1 == ProtectionLevel.EncryptAndSign 55|| (v1 == ProtectionLevel.Sign && v2 != ProtectionLevel.EncryptAndSign)); 76case ProtectionLevel.EncryptAndSign:
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSTrust.cs (2)
657part.ProtectionLevel = System.Net.Security.ProtectionLevel.EncryptAndSign; 662message.Body.ReturnValue.ProtectionLevel = System.Net.Security.ProtectionLevel.EncryptAndSign;
FrameworkFork\System.ServiceModel\System\ServiceModel\TcpTransportSecurity.cs (3)
16internal const ProtectionLevel DefaultProtectionLevel = ProtectionLevel.EncryptAndSign; 71if (_protectionLevel != ProtectionLevel.EncryptAndSign) 89transportSecurity._protectionLevel = ProtectionLevel.EncryptAndSign;
System.Net.Mail (1)
System\Net\Mail\SmtpNegotiateAuthenticationModule.cs (1)
39protectionLevel = ProtectionLevel.EncryptAndSign;
System.Net.Security (21)
System\Net\NegotiateAuthenticationPal.ManagedNtlm.cs (3)
214public override bool IsEncrypted => _protectionLevel == ProtectionLevel.EncryptAndSign; 274if (_protectionLevel == ProtectionLevel.EncryptAndSign) 591if ((flags & Flags.NegotiateSeal) == 0 && _protectionLevel == ProtectionLevel.EncryptAndSign)
System\Net\NegotiateAuthenticationPal.Unix.cs (2)
173ProtectionLevel.EncryptAndSign => Interop.NetSecurityNative.GssFlags.GSS_C_INTEG_FLAG | Interop.NetSecurityNative.GssFlags.GSS_C_CONF_FLAG, 227ProtectionLevel.EncryptAndSign => Interop.NetSecurityNative.GssFlags.GSS_C_INTEG_FLAG | Interop.NetSecurityNative.GssFlags.GSS_C_CONF_FLAG,
System\Net\Security\NegotiateAuthentication.cs (1)
99ProtectionLevel.EncryptAndSign;
System\Net\Security\NegotiateStream.cs (15)
103BeginAuthenticateAsClient((NetworkCredential)CredentialCache.DefaultCredentials, binding: null, string.Empty, ProtectionLevel.EncryptAndSign, TokenImpersonationLevel.Identification, 107BeginAuthenticateAsClient(credential, binding: null, targetName, ProtectionLevel.EncryptAndSign, TokenImpersonationLevel.Identification, 111BeginAuthenticateAsClient(credential, binding, targetName, ProtectionLevel.EncryptAndSign, TokenImpersonationLevel.Identification, 128AuthenticateAsServer((NetworkCredential)CredentialCache.DefaultCredentials, policy: null, ProtectionLevel.EncryptAndSign, TokenImpersonationLevel.Identification); 131AuthenticateAsServer((NetworkCredential)CredentialCache.DefaultCredentials, policy, ProtectionLevel.EncryptAndSign, TokenImpersonationLevel.Identification); 143BeginAuthenticateAsServer((NetworkCredential)CredentialCache.DefaultCredentials, policy: null, ProtectionLevel.EncryptAndSign, TokenImpersonationLevel.Identification, asyncCallback, asyncState); 146BeginAuthenticateAsServer((NetworkCredential)CredentialCache.DefaultCredentials, policy, ProtectionLevel.EncryptAndSign, TokenImpersonationLevel.Identification, asyncCallback, asyncState); 161AuthenticateAsClient((NetworkCredential)CredentialCache.DefaultCredentials, binding: null, string.Empty, ProtectionLevel.EncryptAndSign, TokenImpersonationLevel.Identification); 164AuthenticateAsClient(credential, binding: null, targetName, ProtectionLevel.EncryptAndSign, TokenImpersonationLevel.Identification); 167AuthenticateAsClient(credential, binding, targetName, ProtectionLevel.EncryptAndSign, TokenImpersonationLevel.Identification); 181AuthenticateAsClientAsync((NetworkCredential)CredentialCache.DefaultCredentials, binding: null, string.Empty, ProtectionLevel.EncryptAndSign, TokenImpersonationLevel.Identification); 184AuthenticateAsClientAsync(credential, binding: null, targetName, ProtectionLevel.EncryptAndSign, TokenImpersonationLevel.Identification); 193AuthenticateAsClientAsync(credential, binding, targetName, ProtectionLevel.EncryptAndSign, TokenImpersonationLevel.Identification); 204AuthenticateAsServerAsync((NetworkCredential)CredentialCache.DefaultCredentials, policy: null, ProtectionLevel.EncryptAndSign, TokenImpersonationLevel.Identification); 207AuthenticateAsServerAsync((NetworkCredential)CredentialCache.DefaultCredentials, policy, ProtectionLevel.EncryptAndSign, TokenImpersonationLevel.Identification);
System.ServiceModel.NetFramingBase (3)
System\ServiceModel\Channels\SslStreamSecurityBindingElement.cs (2)
103ProtectionLevel.EncryptAndSign, ProtectionLevel.EncryptAndSign);
System\ServiceModel\Channels\TransportDefaults.cs (1)
44public const ProtectionLevel ProtectionLevel = Net.Security.ProtectionLevel.EncryptAndSign;
System.ServiceModel.NetNamedPipe (2)
System\ServiceModel\Channels\TransportDefaults.cs (1)
20public const ProtectionLevel ProtectionLevel = Net.Security.ProtectionLevel.EncryptAndSign;
System\ServiceModel\NamedPipeTransportSecurity.cs (1)
16internal const ProtectionLevel DefaultProtectionLevel = ProtectionLevel.EncryptAndSign;
System.ServiceModel.UnixDomainSocket (3)
System\ServiceModel\UnixDomainSocketTransportSecurity.cs (3)
17internal const ProtectionLevel DefaultProtectionLevel = ProtectionLevel.EncryptAndSign; 97if (_protectionLevel != ProtectionLevel.EncryptAndSign) 122transportSecurity.ProtectionLevel = ProtectionLevel.EncryptAndSign;