263 references to ProtectionLevel
dotnet-svcutil-lib (181)
CodeDomFixup\MethodCreationHelper.cs (2)
1765new CodeTypeReferenceExpression(typeof(ProtectionLevel)), 1863new CodeTypeReferenceExpression(typeof(ProtectionLevel)),
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\AsymmetricSecurityBindingElement.cs (17)
128private void ValidateExistingOrSetNewProtectionLevel(MessagePartDescription part, MessageDescription message, OperationDescription operation, ContractDescription contract, ProtectionLevel newProtectionLevel) 130ProtectionLevel existingProtectionLevel; 201private ProtectionLevel _uniformProtectionLevel; 203public ContractProtectionLevel(bool hasProtectionRequirements, bool hasUniformProtectionLevel, ProtectionLevel uniformProtectionLevel) 212public ProtectionLevel UniformProtectionLevel { get { return _uniformProtectionLevel; } } 223ProtectionLevel contractProtectionLevel = ProtectionLevel.None; 263ProtectionLevel protectionLevel = ProtectionLevel.None; 274ProtectionLevel newProtectionLevel = GetProtectionLevel(messageSignedParts.IsBodyIncluded, messageEncryptedParts.IsBodyIncluded, message.Action); 368ProtectionLevel newProtectionLevel = GetProtectionLevel(messageSignedParts.IsBodyIncluded, messageEncryptedParts.IsBodyIncluded, fault.Action); 406if (hasContractProtectionLevel && isContractProtectionLevelUniform && contractProtectionLevel == ProtectionLevel.EncryptAndSign) 444private static ProtectionLevel GetProtectionLevel(bool signed, bool encrypted, string action) 446ProtectionLevel result; 452result = ProtectionLevel.EncryptAndSign; 461result = ProtectionLevel.Sign; 465result = ProtectionLevel.None;
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\CompositeDuplexBindingElement.cs (1)
103System.Net.Security.ProtectionLevel.None));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ContextBindingElement.cs (8)
18internal const ProtectionLevel DefaultProtectionLevel = ProtectionLevel.Sign; 22private ProtectionLevel _protectionLevel; 30public ContextBindingElement(ProtectionLevel protectionLevel) 36public ContextBindingElement(ProtectionLevel protectionLevel, ContextExchangeMechanism contextExchangeMechanism) 43public ContextBindingElement(ProtectionLevel protectionLevel, ContextExchangeMechanism contextExchangeMechanism, Uri clientCallbackAddress) 49public ContextBindingElement(ProtectionLevel protectionLevel, ContextExchangeMechanism contextExchangeMechanism, Uri clientCallbackAddress, bool contextManagementEnabled) 104public ProtectionLevel ProtectionLevel
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ContextBindingElementPolicy.cs (3)
98bindingElement = new ContextBindingElement(ProtectionLevel.EncryptAndSign); 102bindingElement = new ContextBindingElement(ProtectionLevel.Sign); 106bindingElement = new ContextBindingElement(ProtectionLevel.None);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpsTransportBindingElement.cs (2)
128ProtectionLevel.EncryptAndSign, 129ProtectionLevel.EncryptAndSign);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpTransportBindingElement.cs (2)
414ProtectionLevel.None, 415ProtectionLevel.None);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ISecurityCapabilities.cs (2)
11ProtectionLevel SupportedRequestProtectionLevel { get; } 12ProtectionLevel SupportedResponseProtectionLevel { get; }
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SecurityBindingElement.cs (7)
409internal ChannelProtectionRequirements GetProtectionRequirements(AddressingVersion addressing, ProtectionLevel defaultProtectionLevel) 415ProtectionLevel supportedRequestProtectionLevel = this.GetIndividualProperty<ISecurityCapabilities>().SupportedRequestProtectionLevel; 416ProtectionLevel supportedResponseProtectionLevel = this.GetIndividualProperty<ISecurityCapabilities>().SupportedResponseProtectionLevel; 425if (defaultProtectionLevel != ProtectionLevel.None) 428if (defaultProtectionLevel == ProtectionLevel.EncryptAndSign) 496ProtectionLevel requestProtectionLevel = ProtectionLevelHelper.Max(thisSecurityCapability.SupportedRequestProtectionLevel, lowerSecurityCapability.SupportedRequestProtectionLevel); 497ProtectionLevel responseProtectionLevel = ProtectionLevelHelper.Max(thisSecurityCapability.SupportedResponseProtectionLevel, lowerSecurityCapability.SupportedResponseProtectionLevel);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SecurityBindingElementImporter.cs (6)
140ProtectionLevel requestProtectionLevel = ProtectionLevel.EncryptAndSign; 141ProtectionLevel responseProtectionLevel = ProtectionLevel.EncryptAndSign; 146requestProtectionLevel = ProtectionLevel.Sign; 147responseProtectionLevel = ProtectionLevel.None;
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SecurityCapabilities.cs (8)
14internal ProtectionLevel requestProtectionLevel; 15internal ProtectionLevel responseProtectionLevel; 18ProtectionLevel requestProtectionLevel, ProtectionLevel responseProtectionLevel) 27public ProtectionLevel SupportedRequestProtectionLevel { get { return requestProtectionLevel; } } 28public ProtectionLevel SupportedResponseProtectionLevel { get { return responseProtectionLevel; } } 35get { return new SecurityCapabilities(false, false, false, ProtectionLevel.None, ProtectionLevel.None); }
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 (2)
204public const ProtectionLevel ProtectionLevel = System.Net.Security.ProtectionLevel.EncryptAndSign;
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransportSecurityBindingElement.cs (2)
30ProtectionLevel.None, ProtectionLevel.None);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\WindowsStreamSecurityBindingElement.cs (4)
16private ProtectionLevel _protectionLevel; 31public ProtectionLevel ProtectionLevel 121windowsBindingElement.ProtectionLevel = (ProtectionLevel)Enum.Parse(typeof(ProtectionLevel), protectionLevelString);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\WindowsStreamSecurityUpgradeProvider.cs (2)
29private ProtectionLevel _protectionLevel; 100public ProtectionLevel ProtectionLevel
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ContractDescription.cs (2)
26private ProtectionLevel _protectionLevel; 104public ProtectionLevel ProtectionLevel
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\FaultDescription.cs (3)
21private ProtectionLevel _protectionLevel; 70public ProtectionLevel ProtectionLevel 94_protectionLevel = ProtectionLevel.None;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageDescription.cs (3)
24private ProtectionLevel _protectionLevel; 99public ProtectionLevel ProtectionLevel 181_protectionLevel = ProtectionLevel.None;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessagePartDescription.cs (3)
21private ProtectionLevel _protectionLevel; 113public ProtectionLevel ProtectionLevel 156_protectionLevel = ProtectionLevel.None;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationDescription.cs (6)
32private ProtectionLevel _protectionLevel; 79public ProtectionLevel ProtectionLevel 84if (!(value == ProtectionLevel.None || value == ProtectionLevel.Sign || value == ProtectionLevel.EncryptAndSign)) 255_protectionLevel = ProtectionLevel.None;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (3)
602System.Net.Security.ProtectionLevel protectionLevel = System.Net.Security.ProtectionLevel.None; 772new CodeTypeReferenceExpression(typeof(ProtectionLevel)), message.ProtectionLevel.ToString())));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceContractGenerator.cs (3)
362new CodeTypeReferenceExpression(typeof(ProtectionLevel)), context.Contract.ProtectionLevel.ToString()))); 419new CodeTypeReferenceExpression(typeof(ProtectionLevel)), operationDescription.ProtectionLevel.ToString()))); 615new CodeTypeReferenceExpression(typeof(ProtectionLevel)), fault.ProtectionLevel.ToString())));
FrameworkFork\System.ServiceModel\System\ServiceModel\FaultContractAttribute.cs (3)
18private ProtectionLevel _protectionLevel = ProtectionLevel.None; 71public ProtectionLevel ProtectionLevel
FrameworkFork\System.ServiceModel\System\ServiceModel\MessageContractAttribute.cs (3)
17private ProtectionLevel _protectionLevel = ProtectionLevel.None; 21public ProtectionLevel ProtectionLevel
FrameworkFork\System.ServiceModel\System\ServiceModel\MessageContractMemberAttribute.cs (3)
17private ProtectionLevel _protectionLevel = ProtectionLevel.None; 70public ProtectionLevel ProtectionLevel
FrameworkFork\System.ServiceModel\System\ServiceModel\NamedPipeTransportSecurity.cs (4)
14internal const ProtectionLevel DefaultProtectionLevel = ProtectionLevel.EncryptAndSign; 15ProtectionLevel _protectionLevel; 23public ProtectionLevel ProtectionLevel
FrameworkFork\System.ServiceModel\System\ServiceModel\NetTcpContextBinding.cs (2)
17private ProtectionLevel _contextProtectionLevel = ContextBindingElement.DefaultProtectionLevel; 55public ProtectionLevel ContextProtectionLevel
FrameworkFork\System.ServiceModel\System\ServiceModel\OperationContractAttribute.cs (3)
21private ProtectionLevel _protectionLevel = ProtectionLevel.None; 59public ProtectionLevel ProtectionLevel
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\ChannelProtectionRequirements.cs (26)
48internal ChannelProtectionRequirements(ChannelProtectionRequirements other, ProtectionLevel newBodyProtectionLevel) 53_incomingSignatureParts = new ScopedMessagePartSpecification(other._incomingSignatureParts, newBodyProtectionLevel != ProtectionLevel.None); 54_incomingEncryptionParts = new ScopedMessagePartSpecification(other._incomingEncryptionParts, newBodyProtectionLevel == ProtectionLevel.EncryptAndSign); 55_outgoingSignatureParts = new ScopedMessagePartSpecification(other._outgoingSignatureParts, newBodyProtectionLevel != ProtectionLevel.None); 56_outgoingEncryptionParts = new ScopedMessagePartSpecification(other._outgoingEncryptionParts, newBodyProtectionLevel == ProtectionLevel.EncryptAndSign); 206internal static ChannelProtectionRequirements CreateFromContract(ContractDescription contract, ProtectionLevel defaultRequestProtectionLevel, ProtectionLevel defaultResponseProtectionLevel, bool isForClient) 213ProtectionLevel contractScopeDefaultRequestProtectionLevel; 214ProtectionLevel contractScopeDefaultResponseProtectionLevel; 228ProtectionLevel operationScopeDefaultRequestProtectionLevel; 229ProtectionLevel operationScopeDefaultResponseProtectionLevel; 236ProtectionLevel messageScopeDefaultProtectionLevel; 260ProtectionLevel bodyProtectionLevel; 265bodyProtectionLevel = ProtectionLevel.None; 287ProtectionLevel partProtectionLevel = body.HasProtectionLevel ? body.ProtectionLevel : messageScopeDefaultProtectionLevel; 289if (bodyProtectionLevel == ProtectionLevel.EncryptAndSign) 293if (bodyProtectionLevel != ProtectionLevel.None) 296if (bodyProtectionLevel == ProtectionLevel.EncryptAndSign) 329MessagePartSpecification encryptedParts, ProtectionLevel defaultProtectionLevel) 331ProtectionLevel p = header.HasProtectionLevel ? header.ProtectionLevel : defaultProtectionLevel; 332if (p != ProtectionLevel.None) 336if (p == ProtectionLevel.EncryptAndSign) 341private static void AddFaultProtectionRequirements(FaultDescriptionCollection faults, ChannelProtectionRequirements requirements, ProtectionLevel defaultProtectionLevel, bool addToIncoming) 352ProtectionLevel p = fault.HasProtectionLevel ? fault.ProtectionLevel : defaultProtectionLevel; 353if (p != ProtectionLevel.None) 356if (p == ProtectionLevel.EncryptAndSign)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityUtils.cs (26)
30public static bool IsDefined(ProtectionLevel value) 32return (value == ProtectionLevel.None 33|| value == ProtectionLevel.Sign 34|| value == ProtectionLevel.EncryptAndSign); 37public static void Validate(ProtectionLevel value) 42typeof(ProtectionLevel))); 46public static bool IsStronger(ProtectionLevel v1, ProtectionLevel v2) 48return ((v1 == ProtectionLevel.EncryptAndSign && v2 != ProtectionLevel.EncryptAndSign) 49|| (v1 == ProtectionLevel.Sign && v2 == ProtectionLevel.None)); 52public static bool IsStrongerOrEqual(ProtectionLevel v1, ProtectionLevel v2) 54return (v1 == ProtectionLevel.EncryptAndSign 55|| (v1 == ProtectionLevel.Sign && v2 != ProtectionLevel.EncryptAndSign)); 58public static ProtectionLevel Max(ProtectionLevel v1, ProtectionLevel v2) 63public static int GetOrdinal(Nullable<ProtectionLevel> p) 67switch ((ProtectionLevel)p) 71typeof(ProtectionLevel))); 72case ProtectionLevel.None: 74case ProtectionLevel.Sign: 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\Security\WSTrustDec2005.cs (1)
182[FaultContract(typeof(string), Action = "*", ProtectionLevel = System.Net.Security.ProtectionLevel.Sign)]
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSTrustFeb2005.cs (1)
231[FaultContract(typeof(string), Action = "*", ProtectionLevel = System.Net.Security.ProtectionLevel.Sign)]
FrameworkFork\System.ServiceModel\System\ServiceModel\ServiceContractAttribute.cs (3)
19private ProtectionLevel _protectionLevel = ProtectionLevel.None; 69public ProtectionLevel ProtectionLevel
FrameworkFork\System.ServiceModel\System\ServiceModel\TcpTransportSecurity.cs (6)
16internal const ProtectionLevel DefaultProtectionLevel = ProtectionLevel.EncryptAndSign; 19private ProtectionLevel _protectionLevel; 44public ProtectionLevel ProtectionLevel 71if (_protectionLevel != ProtectionLevel.EncryptAndSign) 89transportSecurity._protectionLevel = ProtectionLevel.EncryptAndSign;
FrameworkFork\System.ServiceModel\System\ServiceModel\WSHttpContextBinding.cs (2)
16private ProtectionLevel _contextProtectionLevel = ContextBindingElement.DefaultProtectionLevel; 63public ProtectionLevel ContextProtectionLevel
netstandard (1)
netstandard.cs (1)
1244[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.Security.ProtectionLevel))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
736[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.Security.ProtectionLevel))]
System.Net.Http (3)
System\Net\Http\SocketsHttpHandler\AuthenticationHelper.NtAuth.cs (3)
160ProtectionLevel requiredProtectionLevel = ProtectionLevel.None; 168requiredProtectionLevel = ProtectionLevel.Sign;
System.Net.Mail (3)
System\Net\Mail\SmtpNegotiateAuthenticationModule.cs (3)
33ProtectionLevel protectionLevel = ProtectionLevel.Sign; 39protectionLevel = ProtectionLevel.EncryptAndSign;
System.Net.Security (51)
System\Net\NegotiateAuthenticationPal.ManagedNtlm.cs (5)
31private readonly ProtectionLevel _protectionLevel; 213public override bool IsSigned => _protectionLevel != ProtectionLevel.None; 214public override bool IsEncrypted => _protectionLevel == ProtectionLevel.EncryptAndSign; 274if (_protectionLevel == ProtectionLevel.EncryptAndSign) 591if ((flags & Flags.NegotiateSeal) == 0 && _protectionLevel == ProtectionLevel.EncryptAndSign)
System\Net\NegotiateAuthenticationPal.Unix.cs (4)
172ProtectionLevel.Sign => Interop.NetSecurityNative.GssFlags.GSS_C_INTEG_FLAG, 173ProtectionLevel.EncryptAndSign => Interop.NetSecurityNative.GssFlags.GSS_C_INTEG_FLAG | Interop.NetSecurityNative.GssFlags.GSS_C_CONF_FLAG, 226ProtectionLevel.Sign => Interop.NetSecurityNative.GssFlags.GSS_C_INTEG_FLAG, 227ProtectionLevel.EncryptAndSign => Interop.NetSecurityNative.GssFlags.GSS_C_INTEG_FLAG | Interop.NetSecurityNative.GssFlags.GSS_C_CONF_FLAG,
System\Net\Security\NegotiateAuthentication.cs (6)
23private readonly ProtectionLevel _requiredProtectionLevel; 96public ProtectionLevel ProtectionLevel => 97!IsSigned ? ProtectionLevel.None : 98!IsEncrypted ? ProtectionLevel.Sign : 99ProtectionLevel.EncryptAndSign; 228else if (_requiredProtectionLevel != ProtectionLevel.None && ProtectionLevel < _requiredProtectionLevel)
System\Net\Security\NegotiateAuthenticationClientOptions.cs (2)
68public ProtectionLevel RequiredProtectionLevel { get; set; } = ProtectionLevel.None;
System\Net\Security\NegotiateAuthenticationServerOptions.cs (2)
47public ProtectionLevel RequiredProtectionLevel { get; set; } = ProtectionLevel.None;
System\Net\Security\NegotiateStream.cs (32)
53private ProtectionLevel _expectedProtectionLevel; 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, 115NetworkCredential credential, string targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel allowedImpersonationLevel, 121NetworkCredential credential, ChannelBinding? binding, string targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel allowedImpersonationLevel, 128AuthenticateAsServer((NetworkCredential)CredentialCache.DefaultCredentials, policy: null, ProtectionLevel.EncryptAndSign, TokenImpersonationLevel.Identification); 131AuthenticateAsServer((NetworkCredential)CredentialCache.DefaultCredentials, policy, ProtectionLevel.EncryptAndSign, TokenImpersonationLevel.Identification); 133public virtual void AuthenticateAsServer(NetworkCredential credential, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel requiredImpersonationLevel) => 136public virtual void AuthenticateAsServer(NetworkCredential credential, ExtendedProtectionPolicy? policy, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel requiredImpersonationLevel) 143BeginAuthenticateAsServer((NetworkCredential)CredentialCache.DefaultCredentials, policy: null, ProtectionLevel.EncryptAndSign, TokenImpersonationLevel.Identification, asyncCallback, asyncState); 146BeginAuthenticateAsServer((NetworkCredential)CredentialCache.DefaultCredentials, policy, ProtectionLevel.EncryptAndSign, TokenImpersonationLevel.Identification, asyncCallback, asyncState); 149NetworkCredential credential, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel requiredImpersonationLevel, 154NetworkCredential credential, ExtendedProtectionPolicy? policy, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel requiredImpersonationLevel, 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); 170NetworkCredential credential, string targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel allowedImpersonationLevel) => 174NetworkCredential credential, ChannelBinding? binding, string targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel allowedImpersonationLevel) 181AuthenticateAsClientAsync((NetworkCredential)CredentialCache.DefaultCredentials, binding: null, string.Empty, ProtectionLevel.EncryptAndSign, TokenImpersonationLevel.Identification); 184AuthenticateAsClientAsync(credential, binding: null, targetName, ProtectionLevel.EncryptAndSign, TokenImpersonationLevel.Identification); 188ProtectionLevel requiredProtectionLevel, 193AuthenticateAsClientAsync(credential, binding, targetName, ProtectionLevel.EncryptAndSign, TokenImpersonationLevel.Identification); 196NetworkCredential credential, ChannelBinding? binding, string targetName, ProtectionLevel requiredProtectionLevel, 204AuthenticateAsServerAsync((NetworkCredential)CredentialCache.DefaultCredentials, policy: null, ProtectionLevel.EncryptAndSign, TokenImpersonationLevel.Identification); 207AuthenticateAsServerAsync((NetworkCredential)CredentialCache.DefaultCredentials, policy, ProtectionLevel.EncryptAndSign, TokenImpersonationLevel.Identification); 209public virtual Task AuthenticateAsServerAsync(NetworkCredential credential, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel requiredImpersonationLevel) => 213NetworkCredential credential, ExtendedProtectionPolicy? policy, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel requiredImpersonationLevel) 600ProtectionLevel protectionLevel, 627ProtectionLevel protectionLevel, 663if (protectionLevel == ProtectionLevel.None && !isServer) 696RequireMutualAuthentication = protectionLevel != ProtectionLevel.None
System.ServiceModel.NetFramingBase (7)
System\ServiceModel\Channels\SslStreamSecurityBindingElement.cs (2)
103ProtectionLevel.EncryptAndSign, ProtectionLevel.EncryptAndSign);
System\ServiceModel\Channels\TransportDefaults.cs (2)
44public const ProtectionLevel ProtectionLevel = Net.Security.ProtectionLevel.EncryptAndSign;
System\ServiceModel\Channels\WindowsStreamSecurityBindingElement.cs (2)
12private ProtectionLevel _protectionLevel; 25public ProtectionLevel ProtectionLevel
System\ServiceModel\Channels\WindowsStreamSecurityUpgradeProvider.cs (1)
53public ProtectionLevel ProtectionLevel { get; }
System.ServiceModel.NetNamedPipe (6)
System\ServiceModel\Channels\TransportDefaults.cs (2)
20public const ProtectionLevel ProtectionLevel = Net.Security.ProtectionLevel.EncryptAndSign;
System\ServiceModel\NamedPipeTransportSecurity.cs (4)
16internal const ProtectionLevel DefaultProtectionLevel = ProtectionLevel.EncryptAndSign; 17private ProtectionLevel _protectionLevel; 30public ProtectionLevel ProtectionLevel
System.ServiceModel.Primitives (2)
netstandard.cs (2)
1860System.Net.Security.ProtectionLevel SupportedRequestProtectionLevel { get; } 1861System.Net.Security.ProtectionLevel SupportedResponseProtectionLevel { get; }
System.ServiceModel.UnixDomainSocket (8)
System\ServiceModel\Channels\UnixPosixIdentityBindingElement.cs (2)
56return (T)(object)new SecurityCapabilities(true, true, true, Net.Security.ProtectionLevel.None, Net.Security.ProtectionLevel.None);
System\ServiceModel\UnixDomainSocketTransportSecurity.cs (6)
17internal const ProtectionLevel DefaultProtectionLevel = ProtectionLevel.EncryptAndSign; 20private ProtectionLevel _protectionLevel; 47public ProtectionLevel ProtectionLevel 97if (_protectionLevel != ProtectionLevel.EncryptAndSign) 122transportSecurity.ProtectionLevel = ProtectionLevel.EncryptAndSign;