2 types derived from SymmetricSecurityKey
System.IdentityModel (1)
System\IdentityModel\Tokens\SymmetricKey.cs (1)
10public class InMemorySymmetricSecurityKey : SymmetricSecurityKey
System.IdentityModel.Selectors (1)
infocard\client\System\IdentityModel\Selectors\InfoCardSymmetricCrypto.cs (1)
26internal class InfoCardSymmetricCrypto : SymmetricSecurityKey, IDisposable
54 references to SymmetricSecurityKey
System.IdentityModel (24)
System\IdentityModel\SignedXml.cs (4)
108SymmetricSecurityKey symmetricKey = signingKey as SymmetricSecurityKey; 214SymmetricSecurityKey symmetricKey = verificationKey as SymmetricSecurityKey;
System\IdentityModel\Tokens\EncryptedSecurityTokenHandler.cs (6)
115/// <exception cref="SecurityTokenException">The <see cref="SecurityKeyIdentifier"/> is not a <see cref="SymmetricSecurityKey"/>.</exception> 190SymmetricSecurityKey symmetricKey = decryptionKey as SymmetricSecurityKey; 283/// <exception cref="SecurityTokenException">The property 'EncryptinCredentials.SecurityKey is not a <see cref="SymmetricSecurityKey"/></exception> 340SymmetricSecurityKey encryptingKey = encryptingCredentials.SecurityKey as SymmetricSecurityKey;
System\IdentityModel\Tokens\KerberosReceiverSecurityToken.cs (2)
18SymmetricSecurityKey symmetricSecurityKey = null; 82public SymmetricSecurityKey SecurityKey
System\IdentityModel\Tokens\KerberosRequestorSecurityToken.cs (2)
22SymmetricSecurityKey symmetricSecurityKey; 113public SymmetricSecurityKey SecurityKey
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (6)
815SymmetricSecurityKey symmetricKey = decryptionKey as SymmetricSecurityKey; 2930SymmetricSecurityKey encryptingKey = data.EncryptingCredentials.SecurityKey as SymmetricSecurityKey; 4525SymmetricSecurityKey encryptingKey = encryptingCredentials.SecurityKey as SymmetricSecurityKey;
System\IdentityModel\Tokens\SessionSecurityToken.cs (4)
134SymmetricSecurityKey key) 156SymmetricSecurityKey key) 185SymmetricSecurityKey key) 736byte[] key = ((SymmetricSecurityKey)this.SecurityKeys[0]).GetSymmetricKey();
System.ServiceModel (30)
System\ServiceModel\Security\DerivedKeyCachingSecurityTokenSerializer.cs (3)
208this.keyToDerive = ((SymmetricSecurityKey)cachedToken.TokenToDerive.SecurityKeys[0]).GetSymmetricKey(); 276SymmetricSecurityKey key = token.SecurityKeys[0] as SymmetricSecurityKey;
System\ServiceModel\Security\IssuanceTokenProviderBase.cs (2)
662SymmetricSecurityKey symmetricKey = issuedKeys[0] as SymmetricSecurityKey;
System\ServiceModel\Security\SecurityAlgorithmSuite.cs (6)
372SymmetricSecurityKey symmetricSecurityKey = securityKey as SymmetricSecurityKey; 385internal void EnsureAcceptableSignatureSymmetricKeySize(SymmetricSecurityKey securityKey, SecurityToken token) 392keySize = ((SymmetricSecurityKey)token.SecurityKeys[0]).KeySize; 418internal void EnsureAcceptableDecryptionSymmetricKeySize(SymmetricSecurityKey securityKey, SecurityToken token) 425keySize = ((SymmetricSecurityKey)token.SecurityKeys[0]).KeySize;
System\ServiceModel\Security\SecurityHeaderTokenResolver.cs (1)
204if (SecurityUtils.GetSecurityKey<SymmetricSecurityKey>(resolvedToken) == null)
System\ServiceModel\Security\SecuritySessionSecurityTokenProvider.cs (2)
803SymmetricSecurityKey symmetricKey = issuedKeys[0] as SymmetricSecurityKey;
System\ServiceModel\Security\SecurityUtils.cs (11)
580return GetSecurityKey<SymmetricSecurityKey>(token) != null; 591SymmetricSecurityKey c1 = SecurityUtils.GetSecurityKey<SymmetricSecurityKey>(t1); 592SymmetricSecurityKey c2 = SecurityUtils.GetSecurityKey<SymmetricSecurityKey>(t2); 601SymmetricSecurityKey securityKey = SecurityUtils.GetSecurityKey<SymmetricSecurityKey>(token); 614SymmetricSecurityKey securityKey = SecurityUtils.GetSecurityKey<SymmetricSecurityKey>(token); 719SymmetricSecurityKey symmetricSecurityKey = SecurityUtils.GetSecurityKey<SymmetricSecurityKey>(tokenToDerive);
System\ServiceModel\Security\Tokens\DerivedKeySecurityToken.cs (1)
274this.key = ((SymmetricSecurityKey)securityKeys[0]).GetSymmetricKey();
System\ServiceModel\Security\Tokens\SecurityContextSecurityTokenHelper.cs (2)
107SymmetricSecurityKey symmetricKey = token.SecurityKeys[0] as SymmetricSecurityKey;
System\ServiceModel\Security\WSSecurityOneDotZeroReceiveSecurityHeader.cs (2)
51SymmetricSecurityKey symmetricSecurityKey = SecurityUtils.GetSecurityKey<SymmetricSecurityKey>(token);