3 writes to SecurityTokenParameters
System.ServiceModel (3)
System\ServiceModel\Channels\SymmetricSecurityBindingElement.cs (3)
168
protocolFactory.
SecurityTokenParameters
= (SecurityTokenParameters)this.ProtectionTokenParameters.Clone();
250
protocolFactory.
SecurityTokenParameters
= scParameters.Clone();
349
protocolFactory.
SecurityTokenParameters
= scParameters.Clone();
20 references to SecurityTokenParameters
System.ServiceModel (20)
System\ServiceModel\Channels\SymmetricSecurityBindingElement.cs (3)
169
SetIssuerBindingContextIfRequired(protocolFactory.
SecurityTokenParameters
, issuerBindingContext);
251
((SecureConversationSecurityTokenParameters)protocolFactory.
SecurityTokenParameters
).IssuerBindingContext = scIssuerBindingContext;
350
((SecureConversationSecurityTokenParameters)protocolFactory.
SecurityTokenParameters
).IssuerBindingContext = scIssuerBindingContext;
System\ServiceModel\Security\SymmetricSecurityProtocol.cs (12)
67
this.Factory.
SecurityTokenParameters
.InitializeSecurityTokenRequirement(tokenRequirement);
68
tokenRequirement.KeyUsage = this.Factory.
SecurityTokenParameters
.HasAsymmetricKey ? SecurityKeyUsage.Exchange : SecurityKeyUsage.Signature;
70
if (this.Factory.
SecurityTokenParameters
.HasAsymmetricKey)
89
if (this.Factory.
SecurityTokenParameters
.HasAsymmetricKey)
261
if (this.Factory.
SecurityTokenParameters
.HasAsymmetricKey)
265
bool isAsymmetricTokenInMessage = SendSecurityHeader.ShouldSerializeToken(this.Factory.
SecurityTokenParameters
, MessageDirection.Input);
270
token = CreateWrappedKeyToken(asymmetricToken, this.Factory.
SecurityTokenParameters
, (isAsymmetricTokenInMessage) ? SecurityTokenReferenceStyle.Internal : SecurityTokenReferenceStyle.External);
350
securityHeader.ConfigureSymmetricBindingServerReceiveHeader(this.Factory.RecipientSymmetricTokenAuthenticator, this.Factory.
SecurityTokenParameters
, supportingAuthenticators);
354
securityHeader.ConfigureSymmetricBindingServerReceiveHeader(this.Factory.RecipientAsymmetricTokenProvider.GetToken(timeoutHelper.RemainingTime()), this.Factory.
SecurityTokenParameters
, supportingAuthenticators);
364
if (factory.
SecurityTokenParameters
.HasAsymmetricKey)
376
if (!factory.
SecurityTokenParameters
.HasAsymmetricKey)
390
AttachRecipientSecurityProperty(message, signingToken, this.Factory.
SecurityTokenParameters
.HasAsymmetricKey, securityHeader.BasicSupportingTokens, securityHeader.EndorsingSupportingTokens, securityHeader.SignedEndorsingSupportingTokens,
System\ServiceModel\Security\SymmetricSecurityProtocolFactory.cs (5)
76
this.
SecurityTokenParameters
.InitializeSecurityTokenRequirement(requirement);
144
this.
SecurityTokenParameters
.InitializeSecurityTokenRequirement(requirement);
145
requirement.KeyUsage = (this.
SecurityTokenParameters
.HasAsymmetricKey) ? SecurityKeyUsage.Exchange : SecurityKeyUsage.Signature;
163
if (this.
SecurityTokenParameters
.HasAsymmetricKey)
202
this.protectionTokenParameters.RequireDerivedKeys = this.
SecurityTokenParameters
.RequireDerivedKeys;