5 writes to KeyType
System.ServiceModel (5)
System\ServiceModel\Configuration\IssuedTokenParametersElement.cs (2)
146
parameters.
KeyType
= this.KeyType;
220
result.
KeyType
= templateKeyType;
System\ServiceModel\FederatedMessageSecurityOverHttp.cs (1)
151
issuedParameters.
KeyType
= this.IssuedKeyType;
System\ServiceModel\Security\Tokens\IssuedSecurityTokenParameters.cs (2)
259
this.
KeyType
= keyType;
821
result.
KeyType
= SecurityKeyType.AsymmetricKey;
29 references to KeyType
System.ServiceModel (29)
System\ServiceModel\Channels\SecurityBindingElement.cs (13)
1287
if (issuedTokenParameters.
KeyType
!= SecurityKeyType.SymmetricKey)
1304
if (issuedTokenParameters.
KeyType
== SecurityKeyType.BearerKey)
1342
if (issuedTokenParameters != null && issuedTokenParameters.
KeyType
!= SecurityKeyType.BearerKey)
1348
if (issuedTokenParameters != null && (issuedTokenParameters.
KeyType
!= SecurityKeyType.SymmetricKey && issuedTokenParameters.
KeyType
!= SecurityKeyType.AsymmetricKey))
1376
if (issuedTokenParameters.
KeyType
== SecurityKeyType.BearerKey)
1417
if (issuedTokenParameters != null && issuedTokenParameters.
KeyType
!= SecurityKeyType.BearerKey)
1423
if (issuedTokenParameters != null && (issuedTokenParameters.
KeyType
!= SecurityKeyType.SymmetricKey && issuedTokenParameters.
KeyType
!= SecurityKeyType.AsymmetricKey))
1672
if (issuedTokenParameters.
KeyType
== SecurityKeyType.BearerKey)
1707
if (issuedTokenParameters != null && issuedTokenParameters.
KeyType
!= SecurityKeyType.BearerKey)
1713
if (issuedTokenParameters != null && (issuedTokenParameters.
KeyType
!= SecurityKeyType.SymmetricKey && issuedTokenParameters.
KeyType
!= SecurityKeyType.AsymmetricKey))
System\ServiceModel\Configuration\IssuedTokenParametersElement.cs (1)
230
SetPropertyValueIfNotDefaultValue(ConfigurationStrings.KeyType, source.
KeyType
);
System\ServiceModel\Configuration\SecurityElementBase.cs (5)
421
if (((IssuedSecurityTokenParameters)p1).
KeyType
!= ((IssuedSecurityTokenParameters)p2).
KeyType
)
609
this.templateKeyType = ((IssuedSecurityTokenParameters)sbe.EndpointSupportingTokenParameters.Endorsing[0]).
KeyType
;
614
this.templateKeyType = ((IssuedSecurityTokenParameters)sbe.EndpointSupportingTokenParameters.Signed[0]).
KeyType
;
619
this.templateKeyType = ((IssuedSecurityTokenParameters)sbe.EndpointSupportingTokenParameters.SignedEncrypted[0]).
KeyType
;
System\ServiceModel\Dispatcher\SecurityValidationBehavior.cs (4)
586
if (issuedParameters.
KeyType
== System.IdentityModel.Tokens.SecurityKeyType.BearerKey)
641
return ((IssuedSecurityTokenParameters)tokenParameters).
KeyType
== SecurityKeyType.BearerKey;
737
if (issuedParameters.
KeyType
== System.IdentityModel.Tokens.SecurityKeyType.SymmetricKey &&
743
else if (issuedParameters.
KeyType
== System.IdentityModel.Tokens.SecurityKeyType.AsymmetricKey &&
System\ServiceModel\FederatedMessageSecurityOverHttp.cs (2)
277
if ((issuedTokenParameters.
KeyType
== SecurityKeyType.BearerKey) &&
306
messageSecurity.IssuedKeyType = issuedTokenParameters.
KeyType
;
System\ServiceModel\Security\Tokens\IssuedSecurityTokenParameters.cs (4)
97
internal protected override bool HasAsymmetricKey { get { return this.
KeyType
== SecurityKeyType.AsymmetricKey; } }
824
result.AddAlgorithmParameters(algorithm, standardsManager, result.
KeyType
);
834
if (parameters.
KeyType
!= SecurityKeyType.AsymmetricKey)
963
requirement.KeyType = this.
KeyType
;