4 overrides of IsSymmetricKeyLengthSupported
System.ServiceModel (4)
System\ServiceModel\Security\SecurityAlgorithmSuite.cs (4)
547
public override bool
IsSymmetricKeyLengthSupported
(int length) { return length == 256; }
578
public override bool
IsSymmetricKeyLengthSupported
(int length) { return length >= 192 && length <= 256; }
609
public override bool
IsSymmetricKeyLengthSupported
(int length) { return length >= 128 && length <= 256; }
641
public override bool
IsSymmetricKeyLengthSupported
(int length) { return length >= 192 && length <= 256; }
7 references to IsSymmetricKeyLengthSupported
System.ServiceModel (7)
System\ServiceModel\Dispatcher\SecurityValidationBehavior.cs (1)
738
!sbe.DefaultAlgorithmSuite.
IsSymmetricKeyLengthSupported
(issuedParameters.KeySize))
System\ServiceModel\Security\CryptoHelper.cs (1)
347
if (!algorithmSuite.
IsSymmetricKeyLengthSupported
(keyLength))
System\ServiceModel\Security\IssuanceTokenProviderBase.cs (1)
665
if (this.SecurityAlgorithmSuite.
IsSymmetricKeyLengthSupported
(symmetricKey.KeySize))
System\ServiceModel\Security\SecurityAlgorithmSuite.cs (2)
407
if (!
IsSymmetricKeyLengthSupported
(keySize))
440
if (!
IsSymmetricKeyLengthSupported
(keySize))
System\ServiceModel\Security\SecuritySessionSecurityTokenProvider.cs (1)
806
if (this.SecurityAlgorithmSuite.
IsSymmetricKeyLengthSupported
(symmetricKey.KeySize))
System\ServiceModel\Security\WSTrust.cs (1)
1557
if ((keySize % 8 == 0) && algorithmSuite.
IsSymmetricKeyLengthSupported
(keySize))