4 implementations of ICryptoTransform
System.Security.Cryptography (4)
System\Security\Cryptography\Base64Transforms.cs (2)
21public class ToBase64Transform : ICryptoTransform 109public class FromBase64Transform : ICryptoTransform
System\Security\Cryptography\HashAlgorithm.cs (1)
12public abstract class HashAlgorithm : IDisposable, ICryptoTransform
System\Security\Cryptography\UniversalCryptoTransform.cs (1)
19internal abstract class UniversalCryptoTransform : ICryptoTransform
94 references to ICryptoTransform
dotnet-svcutil-lib (6)
FrameworkFork\System.ServiceModel\System\IdentityModel\CryptoHelper.cs (2)
50internal static ICryptoTransform CreateDecryptor(byte[] key, byte[] iv, string algorithm) 55internal static ICryptoTransform CreateEncryptor(byte[] key, byte[] iv, string algorithm)
FrameworkFork\System.ServiceModel\System\IdentityModel\Tokens\SymmetricKey.cs (2)
66public override ICryptoTransform GetDecryptionTransform(string algorithm, byte[] iv) 71public override ICryptoTransform GetEncryptionTransform(string algorithm, byte[] iv)
FrameworkFork\System.ServiceModel\System\IdentityModel\Tokens\SymmetricSecurityKey.cs (2)
14public abstract ICryptoTransform GetDecryptionTransform(string algorithm, byte[] iv); 15public abstract ICryptoTransform GetEncryptionTransform(string algorithm, byte[] iv);
Microsoft.AspNetCore.DataProtection (1)
Managed\ManagedAuthenticatedEncryptor.cs (1)
632using (var cryptoTransform = symmetricAlg.CreateEncryptor(
mscorlib (1)
src\runtime\src\libraries\shims\mscorlib\ref\mscorlib.cs (1)
890[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.ICryptoTransform))]
netstandard (1)
netstandard.cs (1)
1887[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.ICryptoTransform))]
System.Security.Cryptography (64)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (2)
432using (ICryptoTransform encryptor = cipher.CreateEncryptor(derivedKey, iv)) 980using (ICryptoTransform decryptor = cipher.CreateDecryptor(tmpKey, tmpIv))
System\Security\Cryptography\AesCng.Windows.cs (4)
101public override ICryptoTransform CreateDecryptor() 107public override ICryptoTransform CreateDecryptor(byte[] rgbKey, byte[]? rgbIV) 112public override ICryptoTransform CreateEncryptor() 118public override ICryptoTransform CreateEncryptor(byte[] rgbKey, byte[]? rgbIV)
System\Security\Cryptography\AesCryptoServiceProvider.cs (4)
69public override ICryptoTransform CreateEncryptor() => _impl.CreateEncryptor(); 70public override ICryptoTransform CreateEncryptor(byte[] rgbKey, byte[]? rgbIV) => _impl.CreateEncryptor(rgbKey, rgbIV); 71public override ICryptoTransform CreateDecryptor() => _impl.CreateDecryptor(); 72public override ICryptoTransform CreateDecryptor(byte[] rgbKey, byte[]? rgbIV) => _impl.CreateDecryptor(rgbKey, rgbIV);
System\Security\Cryptography\AesImplementation.cs (4)
41public sealed override ICryptoTransform CreateDecryptor() 48public sealed override ICryptoTransform CreateDecryptor(byte[] rgbKey, byte[]? rgbIV) 53public sealed override ICryptoTransform CreateEncryptor() 60public sealed override ICryptoTransform CreateEncryptor(byte[] rgbKey, byte[]? rgbIV)
System\Security\Cryptography\AesManaged.cs (4)
67public override ICryptoTransform CreateEncryptor() => _impl.CreateEncryptor(); 68public override ICryptoTransform CreateEncryptor(byte[] rgbKey, byte[]? rgbIV) => _impl.CreateEncryptor(rgbKey, rgbIV); 69public override ICryptoTransform CreateDecryptor() => _impl.CreateDecryptor(); 70public override ICryptoTransform CreateDecryptor(byte[] rgbKey, byte[]? rgbIV) => _impl.CreateDecryptor(rgbKey, rgbIV);
System\Security\Cryptography\CngSymmetricAlgorithmCore.cs (4)
122public ICryptoTransform CreateEncryptor() 127public ICryptoTransform CreateDecryptor() 132public ICryptoTransform CreateEncryptor(byte[] rgbKey, byte[]? rgbIV) 137public ICryptoTransform CreateDecryptor(byte[] rgbKey, byte[]? rgbIV)
System\Security\Cryptography\CryptoStream.cs (4)
18private readonly ICryptoTransform _transform; 33public CryptoStream(Stream stream, ICryptoTransform transform, CryptoStreamMode mode) 38public CryptoStream(Stream stream, ICryptoTransform transform, CryptoStreamMode mode, bool leaveOpen) 649unsafe static int TransformBlock(ICryptoTransform transform, ReadOnlyMemory<byte> inputBuffer, byte[] outputBuffer, int outputOffset)
System\Security\Cryptography\DESCryptoServiceProvider.Windows.cs (4)
39public override ICryptoTransform CreateDecryptor() 45public override ICryptoTransform CreateDecryptor(byte[] rgbKey, byte[]? rgbIV) 51public override ICryptoTransform CreateEncryptor() 57public override ICryptoTransform CreateEncryptor(byte[] rgbKey, byte[]? rgbIV)
System\Security\Cryptography\DesImplementation.cs (4)
21public override ICryptoTransform CreateDecryptor() 26public override ICryptoTransform CreateDecryptor(byte[] rgbKey, byte[]? rgbIV) 31public override ICryptoTransform CreateEncryptor() 36public override ICryptoTransform CreateEncryptor(byte[] rgbKey, byte[]? rgbIV)
System\Security\Cryptography\RC2CryptoServiceProvider.Windows.cs (2)
58public override ICryptoTransform CreateEncryptor(byte[] rgbKey, byte[]? rgbIV) 64public override ICryptoTransform CreateDecryptor(byte[] rgbKey, byte[]? rgbIV)
System\Security\Cryptography\RC2Implementation.cs (4)
27public override ICryptoTransform CreateDecryptor() 32public override ICryptoTransform CreateDecryptor(byte[] rgbKey, byte[]? rgbIV) 37public override ICryptoTransform CreateEncryptor() 42public override ICryptoTransform CreateEncryptor(byte[] rgbKey, byte[]? rgbIV)
System\Security\Cryptography\RijndaelImplementation.cs (4)
83public override ICryptoTransform CreateEncryptor() => _impl.CreateEncryptor(); 84public override ICryptoTransform CreateEncryptor(byte[] rgbKey, byte[]? rgbIV) => _impl.CreateEncryptor(rgbKey, rgbIV); 85public override ICryptoTransform CreateDecryptor() => _impl.CreateDecryptor(); 86public override ICryptoTransform CreateDecryptor(byte[] rgbKey, byte[]? rgbIV) => _impl.CreateDecryptor(rgbKey, rgbIV);
System\Security\Cryptography\RijndaelManaged.cs (4)
80public override ICryptoTransform CreateEncryptor() => _impl.CreateEncryptor(); 81public override ICryptoTransform CreateEncryptor(byte[] rgbKey, byte[]? rgbIV) => _impl.CreateEncryptor(rgbKey, rgbIV); 82public override ICryptoTransform CreateDecryptor() => _impl.CreateDecryptor(); 83public override ICryptoTransform CreateDecryptor(byte[] rgbKey, byte[]? rgbIV) => _impl.CreateDecryptor(rgbKey, rgbIV);
System\Security\Cryptography\SymmetricAlgorithm.cs (4)
171public virtual ICryptoTransform CreateDecryptor() 176public abstract ICryptoTransform CreateDecryptor(byte[] rgbKey, byte[]? rgbIV); 178public virtual ICryptoTransform CreateEncryptor() 183public abstract ICryptoTransform CreateEncryptor(byte[] rgbKey, byte[]? rgbIV);
System\Security\Cryptography\TripleDESCng.Windows.cs (4)
69public override ICryptoTransform CreateDecryptor() 75public override ICryptoTransform CreateDecryptor(byte[] rgbKey, byte[]? rgbIV) 80public override ICryptoTransform CreateEncryptor() 86public override ICryptoTransform CreateEncryptor(byte[] rgbKey, byte[]? rgbIV)
System\Security\Cryptography\TripleDESCryptoServiceProvider.Wrap.cs (4)
64public override ICryptoTransform CreateEncryptor() => _impl.CreateEncryptor(); 65public override ICryptoTransform CreateDecryptor() => _impl.CreateDecryptor(); 71public override ICryptoTransform CreateEncryptor(byte[] rgbKey, byte[]? rgbIV) => 74public override ICryptoTransform CreateDecryptor(byte[] rgbKey, byte[]? rgbIV) =>
System\Security\Cryptography\TripleDesImplementation.cs (4)
20public override ICryptoTransform CreateDecryptor() 25public override ICryptoTransform CreateDecryptor(byte[] rgbKey, byte[]? rgbIV) 30public override ICryptoTransform CreateEncryptor() 35public override ICryptoTransform CreateEncryptor(byte[] rgbKey, byte[]? rgbIV)
System.Security.Cryptography.Pkcs (4)
Internal\Cryptography\PkcsHelpers.cs (2)
314internal static byte[] OneShot(this ICryptoTransform transform, byte[] data) 319internal static byte[] OneShot(this ICryptoTransform transform, byte[] data, int offset, int length)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (2)
432using (ICryptoTransform encryptor = cipher.CreateEncryptor(derivedKey, iv)) 980using (ICryptoTransform decryptor = cipher.CreateDecryptor(tmpKey, tmpIv))
System.Security.Cryptography.Primitives (1)
System.Security.Cryptography.Primitives.cs (1)
17[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.ICryptoTransform))]
System.Security.Cryptography.Xml (8)
System\Security\Cryptography\Xml\EncryptedXml.cs (2)
709using ICryptoTransform enc = symmetricAlgorithm.CreateEncryptor(); 775using ICryptoTransform dec = symmetricAlgorithm.CreateDecryptor();
System\Security\Cryptography\Xml\SymmetricKeyWrap.cs (6)
40ICryptoTransform? enc1 = null; 41ICryptoTransform? enc2 = null; 79ICryptoTransform? dec1 = null; 80ICryptoTransform? dec2 = null; 129ICryptoTransform? enc = null; 192ICryptoTransform? dec = null;
System.ServiceModel.Primitives (6)
System\IdentityModel\CryptoHelper.cs (2)
49internal static ICryptoTransform CreateDecryptor(byte[] key, byte[] iv, string algorithm) 54internal static ICryptoTransform CreateEncryptor(byte[] key, byte[] iv, string algorithm)
System\IdentityModel\Tokens\SymmetricKey.cs (2)
64public override ICryptoTransform GetDecryptionTransform(string algorithm, byte[] iv) 69public override ICryptoTransform GetEncryptionTransform(string algorithm, byte[] iv)
System\IdentityModel\Tokens\SymmetricSecurityKey.cs (2)
14public abstract ICryptoTransform GetDecryptionTransform(string algorithm, byte[] iv); 15public abstract ICryptoTransform GetEncryptionTransform(string algorithm, byte[] iv);
System.ServiceModel.Primitives.Tests (2)
IdentityModel\SymmetricSecurityKeyTest.cs (2)
51public override ICryptoTransform GetDecryptionTransform(string algorithm, byte[] iv) 56public override ICryptoTransform GetEncryptionTransform(string algorithm, byte[] iv)