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