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