1 write to Algorithm
System.IdentityModel (1)
System\IdentityModel\Tokens\EncryptedKeyEncryptingCredentials.cs (1)
84
base.
Algorithm
= encryptionAlgorithm;
12 references to Algorithm
System.IdentityModel (12)
System\IdentityModel\CryptoHelper.cs (2)
319
byte[] wrappedKey = wrappingCredentials.SecurityKey.EncryptKey(wrappingCredentials.
Algorithm
, secret);
321
return new SecurityKeyIdentifier(new EncryptedKeyIdentifierClause(wrappedKey, wrappingCredentials.
Algorithm
, wrappingCredentials.SecurityKeyIdentifier));
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (2)
2419
byte[] encryptedKey = protectedKey.WrappingCredentials.SecurityKey.EncryptKey(protectedKey.WrappingCredentials.
Algorithm
, protectedKey.GetKeyBytes());
2420
EncryptedKeyIdentifierClause clause = new EncryptedKeyIdentifierClause(encryptedKey, protectedKey.WrappingCredentials.
Algorithm
, protectedKey.WrappingCredentials.SecurityKeyIdentifier);
System\IdentityModel\Tokens\EncryptedKeyEncryptingCredentials.cs (2)
78
byte[] encryptedKey = _wrappingCredentials.SecurityKey.EncryptKey( _wrappingCredentials.
Algorithm
, _keyBytes );
79
base.SecurityKeyIdentifier = new SecurityKeyIdentifier( new EncryptedKeyIdentifierClause( encryptedKey, _wrappingCredentials.
Algorithm
, _wrappingCredentials.SecurityKeyIdentifier ) );
System\IdentityModel\Tokens\EncryptedSecurityTokenHandler.cs (2)
335
encryptedData.Algorithm = encryptingCredentials.
Algorithm
;
349
using (SymmetricAlgorithm symmetricAlgorithm = encryptingKey.GetSymmetricAlgorithm(encryptingCredentials.
Algorithm
))
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (4)
2926
encryptedData.Algorithm = data.EncryptingCredentials.
Algorithm
;
2937
SymmetricAlgorithm symmetricAlgorithm = encryptingKey.GetSymmetricAlgorithm(data.EncryptingCredentials.
Algorithm
);
4546
encryptedData.Algorithm = encryptingCredentials.
Algorithm
;
4550
SymmetricAlgorithm symmetricAlgorithm = encryptingKey.GetSymmetricAlgorithm(encryptingCredentials.
Algorithm
);