6 overrides of EncryptKey
System.IdentityModel (4)
System\IdentityModel\Tokens\RsaSecurityKey.cs (1)
46
public override byte[]
EncryptKey
(string algorithm, byte[] keyData)
System\IdentityModel\Tokens\SecurityKeyElement.cs (1)
84
public override byte[]
EncryptKey
(string algorithm, byte[] keyData)
System\IdentityModel\Tokens\SymmetricKey.cs (1)
54
public override byte[]
EncryptKey
(string algorithm, byte[] keyData)
System\IdentityModel\Tokens\X509AsymmetricSecurityKey.cs (1)
155
public override byte[]
EncryptKey
(string algorithm, byte[] keyData)
System.IdentityModel.Selectors (2)
infocard\client\System\IdentityModel\Selectors\InfoCardAsymmetricCrypto.cs (1)
173
public override byte[]
EncryptKey
(string algorithmUri, byte[] keyData)
infocard\client\System\IdentityModel\Selectors\InfoCardSymmetricCrypto.cs (1)
70
public override byte[]
EncryptKey
(string algorithmUri, byte[] keyData)
6 references to EncryptKey
System.IdentityModel (5)
System\IdentityModel\CryptoHelper.cs (1)
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\SecurityUtils.cs (1)
120
return wrappingSecurityKey.
EncryptKey
(encryptionMethod, keyToWrap);
System\IdentityModel\Tokens\EncryptedKeyEncryptingCredentials.cs (1)
78
byte[] encryptedKey = _wrappingCredentials.SecurityKey.
EncryptKey
( _wrappingCredentials.Algorithm, _keyBytes );
System\IdentityModel\Tokens\SecurityKeyElement.cs (1)
91
return _securityKey.
EncryptKey
(algorithm, keyData);
System.ServiceModel (1)
System\ServiceModel\Security\SecurityUtils.cs (1)
671
return wrappingSecurityKey.
EncryptKey
(encryptionMethod, keyToWrap);