34 instantiations of ChannelProtectionRequirements
System.ServiceModel (34)
System\ServiceModel\Channels\AsymmetricSecurityBindingElement.cs (1)
434
myRequirements.Add(context.GetInnerProperty<ChannelProtectionRequirements>() ?? new
ChannelProtectionRequirements
());
System\ServiceModel\Channels\CallbackContextMessageHeader.cs (2)
67
ChannelProtectionRequirements requirements = new
ChannelProtectionRequirements
();
83
ChannelProtectionRequirements requirements = new
ChannelProtectionRequirements
();
System\ServiceModel\Channels\CompositeDuplexBindingElement.cs (2)
122
ChannelProtectionRequirements result = new
ChannelProtectionRequirements
();
157
myRequirements.Add(context.GetInnerProperty<ChannelProtectionRequirements>() ?? new
ChannelProtectionRequirements
());
System\ServiceModel\Channels\ContextBindingElement.cs (1)
218
ChannelProtectionRequirements requirements = new
ChannelProtectionRequirements
(innerRequirements);
System\ServiceModel\Channels\ContextMessageHeader.cs (2)
79
ChannelProtectionRequirements requirements = new
ChannelProtectionRequirements
();
95
ChannelProtectionRequirements requirements = new
ChannelProtectionRequirements
();
System\ServiceModel\Channels\OneWayBindingElement.cs (1)
256
ChannelProtectionRequirements myRequirements = new
ChannelProtectionRequirements
();
System\ServiceModel\Channels\PeerSecurityManager.cs (5)
287
manager.protection = new
ChannelProtectionRequirements
(reqs);
384
protectionRequirements = new
ChannelProtectionRequirements
();
388
protectionRequirements = new
ChannelProtectionRequirements
(protection);
412
protectionRequirements = new
ChannelProtectionRequirements
();
416
protectionRequirements = new
ChannelProtectionRequirements
(protection);
System\ServiceModel\Channels\ReliableSessionBindingElement.cs (2)
228
myRequirements.Add(context.GetInnerProperty<ChannelProtectionRequirements>() ?? new
ChannelProtectionRequirements
());
244
ChannelProtectionRequirements result = new
ChannelProtectionRequirements
();
System\ServiceModel\Channels\SecurityBindingElement.cs (2)
828
ChannelProtectionRequirements result = new
ChannelProtectionRequirements
();
1887
result = new
ChannelProtectionRequirements
();
System\ServiceModel\Channels\SymmetricSecurityBindingElement.cs (1)
392
myRequirements.Add(context.GetInnerProperty<ChannelProtectionRequirements>() ?? new
ChannelProtectionRequirements
());
System\ServiceModel\Channels\TransactionFlowBindingElement.cs (2)
310
myRequirements.Add(context.GetInnerProperty<ChannelProtectionRequirements>() ?? new
ChannelProtectionRequirements
());
328
ChannelProtectionRequirements requirements = new
ChannelProtectionRequirements
();
System\ServiceModel\Channels\TransportBindingElement.cs (2)
114
myRequirements.Add(context.GetInnerProperty<ChannelProtectionRequirements>() ?? new
ChannelProtectionRequirements
());
148
ChannelProtectionRequirements result = new
ChannelProtectionRequirements
();
System\ServiceModel\Channels\TransportSecurityBindingElement.cs (1)
283
myRequirements.Add(context.GetInnerProperty<ChannelProtectionRequirements>() ?? new
ChannelProtectionRequirements
());
System\ServiceModel\Description\DispatcherBuilder.cs (1)
1344
requirements = new
ChannelProtectionRequirements
();
System\ServiceModel\Security\ChannelProtectionRequirements.cs (3)
144
ChannelProtectionRequirements result = new
ChannelProtectionRequirements
();
188
ChannelProtectionRequirements result = new
ChannelProtectionRequirements
();
211
ChannelProtectionRequirements requirements = new
ChannelProtectionRequirements
();
System\ServiceModel\Security\MessageSecurityProtocolFactory.cs (2)
31
ChannelProtectionRequirements protectionRequirements = new
ChannelProtectionRequirements
();
50
this.protectionRequirements = new
ChannelProtectionRequirements
(factory.protectionRequirements);
System\ServiceModel\Security\Tokens\SecureConversationSecurityTokenParameters.cs (3)
36
this.bootstrapProtectionRequirements = new
ChannelProtectionRequirements
(other.bootstrapProtectionRequirements);
77
this.bootstrapProtectionRequirements = new
ChannelProtectionRequirements
(bootstrapProtectionRequirements);
80
this.bootstrapProtectionRequirements = new
ChannelProtectionRequirements
();
System\ServiceModel\Security\WSSecurityPolicy.cs (1)
2664
ChannelProtectionRequirements bootstrapProtection = new
ChannelProtectionRequirements
();
104 references to ChannelProtectionRequirements
System.ServiceModel (104)
System\ServiceModel\Channels\AsymmetricSecurityBindingElement.cs (3)
423
if (typeof(T) == typeof(
ChannelProtectionRequirements
))
433
ChannelProtectionRequirements
myRequirements = base.GetProtectionRequirements(addressing, this.GetIndividualProperty<ISecurityCapabilities>().SupportedRequestProtectionLevel);
434
myRequirements.Add(context.GetInnerProperty<
ChannelProtectionRequirements
>() ?? new ChannelProtectionRequirements());
System\ServiceModel\Channels\CallbackContextMessageHeader.cs (6)
20
static
ChannelProtectionRequirements
encryptAndSignChannelProtectionRequirements;
21
static
ChannelProtectionRequirements
signChannelProtectionRequirements;
57
internal static
ChannelProtectionRequirements
GetChannelProtectionRequirements(ProtectionLevel protectionLevel)
59
ChannelProtectionRequirements
result;
67
ChannelProtectionRequirements
requirements = new ChannelProtectionRequirements();
83
ChannelProtectionRequirements
requirements = new ChannelProtectionRequirements();
System\ServiceModel\Channels\CompositeDuplexBindingElement.cs (5)
120
ChannelProtectionRequirements
GetProtectionRequirements()
122
ChannelProtectionRequirements
result = new ChannelProtectionRequirements();
154
else if (typeof(T) == typeof(
ChannelProtectionRequirements
))
156
ChannelProtectionRequirements
myRequirements = this.GetProtectionRequirements();
157
myRequirements.Add(context.GetInnerProperty<
ChannelProtectionRequirements
>() ?? new ChannelProtectionRequirements());
System\ServiceModel\Channels\ContextBindingElement.cs (4)
209
if (typeof(T) == typeof(
ChannelProtectionRequirements
) && this.ProtectionLevel != ProtectionLevel.None)
211
ChannelProtectionRequirements
innerRequirements = context.GetInnerProperty<
ChannelProtectionRequirements
>();
218
ChannelProtectionRequirements
requirements = new ChannelProtectionRequirements(innerRequirements);
System\ServiceModel\Channels\ContextMessageHeader.cs (6)
22
static
ChannelProtectionRequirements
encryptAndSignChannelProtectionRequirements;
23
static
ChannelProtectionRequirements
signChannelProtectionRequirements;
69
internal static
ChannelProtectionRequirements
GetChannelProtectionRequirements(ProtectionLevel protectionLevel)
71
ChannelProtectionRequirements
result;
79
ChannelProtectionRequirements
requirements = new ChannelProtectionRequirements();
95
ChannelProtectionRequirements
requirements = new ChannelProtectionRequirements();
System\ServiceModel\Channels\OneWayBindingElement.cs (4)
254
if (typeof(T) == typeof(
ChannelProtectionRequirements
))
256
ChannelProtectionRequirements
myRequirements = new ChannelProtectionRequirements();
262
ChannelProtectionRequirements
innerRequirements = context.GetInnerProperty<
ChannelProtectionRequirements
>();
System\ServiceModel\Channels\PeerSecurityManager.cs (5)
37
ChannelProtectionRequirements
protection;
190
ChannelProtectionRequirements
reqs = context.BindingParameters.Find<
ChannelProtectionRequirements
>();
266
static public PeerSecurityManager Create(PeerAuthenticationMode authenticationMode, bool messageAuthentication, PeerSecurityCredentialsManager credman,
ChannelProtectionRequirements
reqs, XmlDictionaryReaderQuotas readerQuotas)
361
ChannelProtectionRequirements
protectionRequirements;
System\ServiceModel\Channels\ReliableSessionBindingElement.cs (5)
225
if (typeof(T) == typeof(
ChannelProtectionRequirements
))
227
ChannelProtectionRequirements
myRequirements = this.GetProtectionRequirements();
228
myRequirements.Add(context.GetInnerProperty<
ChannelProtectionRequirements
>() ?? new ChannelProtectionRequirements());
241
ChannelProtectionRequirements
GetProtectionRequirements()
244
ChannelProtectionRequirements
result = new ChannelProtectionRequirements();
System\ServiceModel\Channels\SecurityBindingElement.cs (12)
823
internal
ChannelProtectionRequirements
GetProtectionRequirements(AddressingVersion addressing, ProtectionLevel defaultProtectionLevel)
828
ChannelProtectionRequirements
result = new ChannelProtectionRequirements();
1744
static public SecurityBindingElement CreateSecureConversationBindingElement(SecurityBindingElement bootstrapSecurity, bool requireCancellation,
ChannelProtectionRequirements
bootstrapProtectionRequirements)
1873
internal static
ChannelProtectionRequirements
ComputeProtectionRequirements(SecurityBindingElement security, BindingParameterCollection parameterCollection, BindingElementCollection bindingElements, bool isForService)
1884
ChannelProtectionRequirements
result = null;
1888
ChannelProtectionRequirements
contractRequirements = parameterCollection.Find<
ChannelProtectionRequirements
>();
1899
static void AddBindingProtectionRequirements(
ChannelProtectionRequirements
requirements, BindingElementCollection bindingElements, bool isForChannel)
1919
ChannelProtectionRequirements
s = context.GetInnerProperty<
ChannelProtectionRequirements
>();
2333
bindingParameters.Add(
ChannelProtectionRequirements
.CreateFromContract(policyContext.Contract, policyContext.BindingElements.Find<SecurityBindingElement>().GetIndividualProperty<ISecurityCapabilities>(), false));
2334
ChannelProtectionRequirements
protectionRequirements = SecurityBindingElement.ComputeProtectionRequirements(security, bindingParameters, policyContext.BindingElements, true);
System\ServiceModel\Channels\SymmetricSecurityBindingElement.cs (5)
215
scIssuerBindingContext.BindingParameters.Remove<
ChannelProtectionRequirements
>();
301
scIssuerBindingContext.BindingParameters.Remove<
ChannelProtectionRequirements
>();
382
if (typeof(T) == typeof(
ChannelProtectionRequirements
))
391
ChannelProtectionRequirements
myRequirements = base.GetProtectionRequirements(addressing, ProtectionLevel.EncryptAndSign);
392
myRequirements.Add(context.GetInnerProperty<
ChannelProtectionRequirements
>() ?? new ChannelProtectionRequirements());
System\ServiceModel\Channels\TransactionFlowBindingElement.cs (6)
305
if (typeof(T) == typeof(
ChannelProtectionRequirements
))
307
ChannelProtectionRequirements
myRequirements = this.GetProtectionRequirements();
310
myRequirements.Add(context.GetInnerProperty<
ChannelProtectionRequirements
>() ?? new ChannelProtectionRequirements());
315
return (T)(object)context.GetInnerProperty<
ChannelProtectionRequirements
>();
324
ChannelProtectionRequirements
GetProtectionRequirements()
328
ChannelProtectionRequirements
requirements = new ChannelProtectionRequirements();
System\ServiceModel\Channels\TransportBindingElement.cs (6)
111
if (typeof(T) == typeof(
ChannelProtectionRequirements
))
113
ChannelProtectionRequirements
myRequirements = this.GetProtectionRequirements(context);
114
myRequirements.Add(context.GetInnerProperty<
ChannelProtectionRequirements
>() ?? new ChannelProtectionRequirements());
146
ChannelProtectionRequirements
GetProtectionRequirements(AddressingVersion addressingVersion)
148
ChannelProtectionRequirements
result = new ChannelProtectionRequirements();
154
internal
ChannelProtectionRequirements
GetProtectionRequirements(BindingContext context)
System\ServiceModel\Channels\TransportSecurityBindingElement.cs (3)
272
if (typeof(T) == typeof(
ChannelProtectionRequirements
))
282
ChannelProtectionRequirements
myRequirements = base.GetProtectionRequirements(addressing, ProtectionLevel.EncryptAndSign);
283
myRequirements.Add(context.GetInnerProperty<
ChannelProtectionRequirements
>() ?? new ChannelProtectionRequirements());
System\ServiceModel\Description\DispatcherBuilder.cs (4)
1341
ChannelProtectionRequirements
requirements = parameters.Find<
ChannelProtectionRequirements
>();
1353
requirements.Add(
ChannelProtectionRequirements
.CreateFromContractAndUnionResponseProtectionRequirements(endpoint.Contract, isc, isForClient));
1357
requirements.Add(
ChannelProtectionRequirements
.CreateFromContract(endpoint.Contract, isc, isForClient));
System\ServiceModel\Dispatcher\SecurityValidationBehavior.cs (2)
514
ChannelProtectionRequirements
requirements =
ChannelProtectionRequirements
.CreateFromContract(contract, defaultRequestProtectionLevel, defaultResponseProtectionLevel, false);
System\ServiceModel\Security\ChannelProtectionRequirements.cs (13)
38
public ChannelProtectionRequirements(
ChannelProtectionRequirements
other)
49
internal ChannelProtectionRequirements(
ChannelProtectionRequirements
other, ProtectionLevel newBodyProtectionLevel)
92
public void Add(
ChannelProtectionRequirements
protectionRequirements)
97
public void Add(
ChannelProtectionRequirements
protectionRequirements, bool channelScopeOnly)
142
public
ChannelProtectionRequirements
CreateInverse()
144
ChannelProtectionRequirements
result = new ChannelProtectionRequirements();
155
internal static
ChannelProtectionRequirements
CreateFromContract(ContractDescription contract, ISecurityCapabilities bindingElement, bool isForClient)
184
internal static
ChannelProtectionRequirements
CreateFromContractAndUnionResponseProtectionRequirements(ContractDescription contract, ISecurityCapabilities bindingElement, bool isForClient)
186
ChannelProtectionRequirements
contractRequirements = CreateFromContract(contract, bindingElement.SupportedRequestProtectionLevel, bindingElement.SupportedResponseProtectionLevel, isForClient);
188
ChannelProtectionRequirements
result = new ChannelProtectionRequirements();
206
internal static
ChannelProtectionRequirements
CreateFromContract(ContractDescription contract, ProtectionLevel defaultRequestProtectionLevel, ProtectionLevel defaultResponseProtectionLevel, bool isForClient)
211
ChannelProtectionRequirements
requirements = new ChannelProtectionRequirements();
347
static void AddFaultProtectionRequirements(FaultDescriptionCollection faults,
ChannelProtectionRequirements
requirements, ProtectionLevel defaultProtectionLevel, bool addToIncoming)
System\ServiceModel\Security\ClientCredentialsSecurityTokenManager.cs (2)
116
spnegoTokenProvider.ApplicationProtectionRequirements = (issuerBindingContext != null) ? issuerBindingContext.BindingParameters.Find<
ChannelProtectionRequirements
>() : null;
205
tlsnegoTokenProvider.ApplicationProtectionRequirements = (issuerBindingContext != null) ? issuerBindingContext.BindingParameters.Find<
ChannelProtectionRequirements
>() : null;
System\ServiceModel\Security\IssuanceTokenProviderBase.cs (2)
43
ChannelProtectionRequirements
applicationProtectionRequirements;
177
public
ChannelProtectionRequirements
ApplicationProtectionRequirements
System\ServiceModel\Security\MessageSecurityProtocolFactory.cs (2)
31
ChannelProtectionRequirements
protectionRequirements = new ChannelProtectionRequirements();
109
public
ChannelProtectionRequirements
ProtectionRequirements
System\ServiceModel\Security\Tokens\SecureConversationSecurityTokenParameters.cs (4)
23
ChannelProtectionRequirements
bootstrapProtectionRequirements;
65
public SecureConversationSecurityTokenParameters(SecurityBindingElement bootstrapSecurityBindingElement, bool requireCancellation,
ChannelProtectionRequirements
bootstrapProtectionRequirements)
71
public SecureConversationSecurityTokenParameters(SecurityBindingElement bootstrapSecurityBindingElement, bool requireCancellation, bool canRenewSession,
ChannelProtectionRequirements
bootstrapProtectionRequirements)
103
public
ChannelProtectionRequirements
BootstrapProtectionRequirements
System\ServiceModel\Security\WSSecurityPolicy.cs (5)
1352
bindingParameters.Add(
ChannelProtectionRequirements
.CreateFromContract(policyContext.Contract, policyContext.BindingElements.Find<SecurityBindingElement>().GetIndividualProperty<ISecurityCapabilities>(), false));
1353
ChannelProtectionRequirements
protectionRequirements = SecurityBindingElement.ComputeProtectionRequirements(security, bindingParameters, policyContext.BindingElements, true);
2664
ChannelProtectionRequirements
bootstrapProtection = new ChannelProtectionRequirements();
2671
ChannelProtectionRequirements
cpr = bootstrapBinding.GetProperty<
ChannelProtectionRequirements
>(new BindingParameterCollection());