1 write to SecurityKey
System.IdentityModel (1)
System\IdentityModel\Tokens\EncryptedKeyEncryptingCredentials.cs (1)
68base.SecurityKey = new InMemorySymmetricSecurityKey( _keyBytes );
11 references to SecurityKey
System.IdentityModel (11)
System\IdentityModel\CryptoHelper.cs (2)
307if (wrappingCredentials == null || wrappingCredentials.SecurityKey == null) 319byte[] wrappedKey = wrappingCredentials.SecurityKey.EncryptKey(wrappingCredentials.Algorithm, secret);
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (1)
2419byte[] encryptedKey = protectedKey.WrappingCredentials.SecurityKey.EncryptKey(protectedKey.WrappingCredentials.Algorithm, protectedKey.GetKeyBytes());
System\IdentityModel\SecurityTokenService.cs (2)
281scope.EncryptingCredentials.SecurityKey is AsymmetricSecurityKey 340!(scope.EncryptingCredentials.SecurityKey is AsymmetricSecurityKey))
System\IdentityModel\Tokens\EncryptedKeyEncryptingCredentials.cs (1)
78byte[] encryptedKey = _wrappingCredentials.SecurityKey.EncryptKey( _wrappingCredentials.Algorithm, _keyBytes );
System\IdentityModel\Tokens\EncryptedSecurityTokenHandler.cs (1)
340SymmetricSecurityKey encryptingKey = encryptingCredentials.SecurityKey as SymmetricSecurityKey;
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (3)
1511if (encryptingCredentials.SecurityKey is AsymmetricSecurityKey) 2930SymmetricSecurityKey encryptingKey = data.EncryptingCredentials.SecurityKey as SymmetricSecurityKey; 4525SymmetricSecurityKey encryptingKey = encryptingCredentials.SecurityKey as SymmetricSecurityKey;
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (1)
188if (encryptingCredentials.SecurityKey is AsymmetricSecurityKey)