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