6 overrides of KeySize
System.IdentityModel (4)
System\IdentityModel\Tokens\RsaSecurityKey.cs (1)
24
public override int
KeySize
System\IdentityModel\Tokens\SecurityKeyElement.cs (1)
172
public override int
KeySize
System\IdentityModel\Tokens\SymmetricKey.cs (1)
44
public override int
KeySize
System\IdentityModel\Tokens\X509AsymmetricSecurityKey.cs (1)
30
public override int
KeySize
System.IdentityModel.Selectors (2)
infocard\client\System\IdentityModel\Selectors\InfoCardAsymmetricCrypto.cs (1)
42
public override int
KeySize
infocard\client\System\IdentityModel\Selectors\InfoCardSymmetricCrypto.cs (1)
60
public override int
KeySize
16 references to KeySize
System.IdentityModel (2)
System\IdentityModel\Tokens\SamlAssertion.cs (1)
424
if ((cryptoList[j] is InMemorySymmetricSecurityKey) && (cryptoList[j].
KeySize
== inMemorySymmetricSecurityKey.KeySize))
System\IdentityModel\Tokens\SecurityKeyElement.cs (1)
181
return _securityKey.
KeySize
;
System.ServiceModel (14)
System\ServiceModel\Security\IssuanceTokenProviderBase.cs (2)
665
if (this.SecurityAlgorithmSuite.IsSymmetricKeyLengthSupported(symmetricKey.
KeySize
))
671
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SecurityNegotiationException(SR.GetString(SR.InvalidIssuedTokenKeySize, symmetricKey.
KeySize
)));
System\ServiceModel\Security\SecurityAlgorithmSuite.cs (10)
364
if (!IsAsymmetricKeyLengthSupported(asymmetricSecurityKey.
KeySize
))
367
SR.GetString(SR.TokenDoesNotMeetKeySizeRequirements, this, token, asymmetricSecurityKey.
KeySize
)));
392
keySize = ((SymmetricSecurityKey)token.SecurityKeys[0]).
KeySize
;
396
if (dkt.SecurityKeys[0].
KeySize
< this.DefaultSignatureKeyDerivationLength)
399
SR.GetString(SR.TokenDoesNotMeetKeySizeRequirements, this, dkt, dkt.SecurityKeys[0].
KeySize
)));
404
keySize = securityKey.
KeySize
;
425
keySize = ((SymmetricSecurityKey)token.SecurityKeys[0]).
KeySize
;
429
if (dkt.SecurityKeys[0].
KeySize
< this.DefaultEncryptionKeyDerivationLength)
432
SR.GetString(SR.TokenDoesNotMeetKeySizeRequirements, this, dkt, dkt.SecurityKeys[0].
KeySize
)));
437
keySize = securityKey.
KeySize
;
System\ServiceModel\Security\SecuritySessionSecurityTokenProvider.cs (2)
806
if (this.SecurityAlgorithmSuite.IsSymmetricKeyLengthSupported(symmetricKey.
KeySize
))
812
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new SecurityNegotiationException(SR.GetString(SR.InvalidIssuedTokenKeySize, symmetricKey.
KeySize
)));