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