11 overrides of HasAsymmetricKey
System.ServiceModel (11)
System\ServiceModel\Security\SessionSymmetricMessageSecurityProtocolFactory.cs (1)
111
internal protected override bool
HasAsymmetricKey
{ get { return false; } }
System\ServiceModel\Security\Tokens\IssuedSecurityTokenParameters.cs (1)
97
internal protected override bool
HasAsymmetricKey
{ get { return this.KeyType == SecurityKeyType.AsymmetricKey; } }
System\ServiceModel\Security\Tokens\KerberosSecurityTokenParameters.cs (1)
27
internal protected override bool
HasAsymmetricKey
{ get { return false; } }
System\ServiceModel\Security\Tokens\RsaSecurityTokenParameters.cs (1)
32
internal protected override bool
HasAsymmetricKey
{ get { return true; } }
System\ServiceModel\Security\Tokens\SecureConversationSecurityTokenParameters.cs (1)
89
internal protected override bool
HasAsymmetricKey
{ get { return false; } }
System\ServiceModel\Security\Tokens\SecurityContextSecurityTokenParameters.cs (1)
31
internal protected override bool
HasAsymmetricKey
{ get { return false; } }
System\ServiceModel\Security\Tokens\SslSecurityTokenParameters.cs (1)
55
internal protected override bool
HasAsymmetricKey
{ get { return false; } }
System\ServiceModel\Security\Tokens\SspiSecurityTokenParameters.cs (1)
47
internal protected override bool
HasAsymmetricKey
{ get { return false; } }
System\ServiceModel\Security\Tokens\UserNameSecurityTokenParameters.cs (1)
27
internal protected override bool
HasAsymmetricKey
{ get { return false; } }
System\ServiceModel\Security\Tokens\WrappedKeySecurityTokenParameters.cs (1)
27
internal protected override bool
HasAsymmetricKey
{ get { return false; } }
System\ServiceModel\Security\Tokens\X509SecurityTokenParameters.cs (1)
53
internal protected override bool
HasAsymmetricKey
{ get { return true; } }
34 references to HasAsymmetricKey
System.ServiceModel (34)
System\ServiceModel\Channels\SymmetricSecurityBindingElement.cs (1)
97
if (ProtectionTokenParameters.
HasAsymmetricKey
)
System\ServiceModel\Configuration\SecurityElementBase.cs (1)
679
if (t.
HasAsymmetricKey
== false)
System\ServiceModel\Dispatcher\SecurityValidationBehavior.cs (3)
816
if (ssbe.ProtectionTokenParameters == stp && stp.
HasAsymmetricKey
)
827
if (asbe.InitiatorTokenParameters == stp && stp.
HasAsymmetricKey
)
855
&& ssbe.ProtectionTokenParameters.
HasAsymmetricKey
)
System\ServiceModel\Security\ReceiveSecurityHeader.cs (5)
668
if (this.EnforceDerivedKeyRequirement && spec.TokenParameters.RequireDerivedKeys && !spec.TokenParameters.
HasAsymmetricKey
&& !tracker.IsDerivedFrom)
701
if (this.EnforceDerivedKeyRequirement && spec.TokenParameters.RequireDerivedKeys && !spec.TokenParameters.
HasAsymmetricKey
&& !tracker.IsDerivedFrom)
848
if (spec.TokenParameters.RequireDerivedKeys && !spec.TokenParameters.
HasAsymmetricKey
&&
913
if (this.primaryTokenParameters.RequireDerivedKeys && !this.primaryTokenParameters.
HasAsymmetricKey
&& !this.primaryTokenTracker.IsDerivedFrom)
944
else if (primaryTokenParameters != null && !primaryTokenParameters.
HasAsymmetricKey
&& primaryTokenParameters.RequireDerivedKeys && !this.encryptionTracker.IsDerivedToken)
System\ServiceModel\Security\SecurityProtocol.cs (2)
345
if (spec.TokenParameters.RequireDerivedKeys && !spec.TokenParameters.
HasAsymmetricKey
)
418
if (tokenProviderSpec.TokenParameters.RequireDerivedKeys && !tokenProviderSpec.TokenParameters.
HasAsymmetricKey
)
System\ServiceModel\Security\SecurityProtocolFactory.cs (2)
846
if (spec.TokenParameters.RequireDerivedKeys && !spec.TokenParameters.
HasAsymmetricKey
)
1038
if (tokenAuthenticatorSpec.TokenParameters.RequireDerivedKeys && !tokenAuthenticatorSpec.TokenParameters.
HasAsymmetricKey
)
System\ServiceModel\Security\SecurityTokenParametersEnumerable.cs (1)
33
if (ssbe.ProtectionTokenParameters != null && (!this.clientTokensOnly || !ssbe.ProtectionTokenParameters.
HasAsymmetricKey
))
System\ServiceModel\Security\SecurityUtils.cs (1)
1802
if (parameters.
HasAsymmetricKey
)
System\ServiceModel\Security\SendSecurityHeader.cs (3)
795
if (this.signingTokenParameters.RequireDerivedKeys && !this.signingTokenParameters.
HasAsymmetricKey
)
929
if (endorsingTokenParameters[i].RequireDerivedKeys && !endorsingTokenParameters[i].
HasAsymmetricKey
)
960
if (signedEndorsingTokenParameters[i].RequireDerivedKeys && !signedEndorsingTokenParameters[i].
HasAsymmetricKey
)
System\ServiceModel\Security\SymmetricSecurityProtocol.cs (7)
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
)
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 (3)
145
requirement.KeyUsage = (this.SecurityTokenParameters.
HasAsymmetricKey
) ? SecurityKeyUsage.Exchange : SecurityKeyUsage.Signature;
163
if (this.SecurityTokenParameters.
HasAsymmetricKey
)
199
if (this.tokenParameters.
HasAsymmetricKey
)
System\ServiceModel\Security\Tokens\SupportingTokenParameters.cs (2)
77
if (t.
HasAsymmetricKey
)
88
if (t.
HasAsymmetricKey
)
System\ServiceModel\Security\WSSecurityPolicy.cs (3)
1010
if (p.
HasAsymmetricKey
)
1020
if (p.
HasAsymmetricKey
)
1706
_protectionTokenHasAsymmetricKey = parameters.
HasAsymmetricKey
;