3 writes to KeySize
System.ServiceModel (3)
System\ServiceModel\Configuration\IssuedTokenParametersElement.cs (1)
145
parameters.
KeySize
= this.KeySize;
System\ServiceModel\FederatedMessageSecurityOverHttp.cs (2)
154
issuedParameters.
KeySize
= this.AlgorithmSuite.DefaultSymmetricKeyLength;
158
issuedParameters.
KeySize
= 0;
8 references to KeySize
System.ServiceModel (8)
System\ServiceModel\Configuration\IssuedTokenParametersElement.cs (2)
231
if (source.
KeySize
> 0)
233
SetPropertyValueIfNotDefaultValue(ConfigurationStrings.KeySize, source.
KeySize
);
System\ServiceModel\Dispatcher\SecurityValidationBehavior.cs (4)
734
if (issuedParameters.
KeySize
!= 0)
738
!sbe.DefaultAlgorithmSuite.IsSymmetricKeyLengthSupported(issuedParameters.
KeySize
))
744
!sbe.DefaultAlgorithmSuite.IsAsymmetricKeyLengthSupported(issuedParameters.
KeySize
))
750
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.IssuedKeySizeNotCompatibleWithAlgorithmSuite, binding.Name, binding.Namespace, sbe.DefaultAlgorithmSuite, issuedParameters.
KeySize
)));
System\ServiceModel\Security\Tokens\IssuedSecurityTokenParameters.cs (2)
975
if (this.
KeySize
> 0)
977
requirement.KeySize = this.
KeySize
;