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
90 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 (3)
Managed\ManagedAuthenticatedEncryptor.cs (3)
113using (var cryptoTransform = symmetricAlg.CreateEncryptor( 245using (var cryptoTransform = symmetricAlgorithm.CreateDecryptor(decryptionSubkey, iv)) 332using (var cryptoTransform = symmetricAlgorithm.CreateEncryptor(encryptionSubkey, iv))
Microsoft.AspNetCore.DataProtection.Tests (6)
AuthenticatedEncryption\ConfigurationModel\ManagedAuthenticatedEncryptorDescriptorDeserializerTests.cs (4)
133public override ICryptoTransform CreateDecryptor(byte[] rgbKey, byte[] rgbIV) => throw new NotImplementedException(); 134public override ICryptoTransform CreateEncryptor(byte[] rgbKey, byte[] rgbIV) => throw new NotImplementedException(); 143public override ICryptoTransform CreateDecryptor(byte[] rgbKey, byte[] rgbIV) => throw new NotImplementedException(); 144public override ICryptoTransform CreateEncryptor(byte[] rgbKey, byte[] rgbIV) => throw new NotImplementedException();
AuthenticatedEncryption\ConfigurationModel\ManagedAuthenticatedEncryptorDescriptorTests.cs (2)
73public override ICryptoTransform CreateDecryptor(byte[] rgbKey, byte[] rgbIV) 78public override ICryptoTransform CreateEncryptor(byte[] rgbKey, byte[] rgbIV)
mscorlib (1)
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 (58)
src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (2)
404using (ICryptoTransform encryptor = cipher.CreateEncryptor(derivedKey, iv)) 938using (ICryptoTransform decryptor = cipher.CreateDecryptor(tmpKey, tmpIv))
System\Security\Cryptography\AesCryptoServiceProvider.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\AesImplementation.cs (4)
10public sealed override ICryptoTransform CreateDecryptor() 15public sealed override ICryptoTransform CreateDecryptor(byte[] rgbKey, byte[]? rgbIV) 20public sealed override ICryptoTransform CreateEncryptor() 25public sealed override ICryptoTransform CreateEncryptor(byte[] rgbKey, byte[]? rgbIV)
System\Security\Cryptography\AesManaged.cs (4)
65public override ICryptoTransform CreateEncryptor() => _impl.CreateEncryptor(); 66public override ICryptoTransform CreateEncryptor(byte[] rgbKey, byte[]? rgbIV) => _impl.CreateEncryptor(rgbKey, rgbIV); 67public override ICryptoTransform CreateDecryptor() => _impl.CreateDecryptor(); 68public override ICryptoTransform CreateDecryptor(byte[] rgbKey, byte[]? rgbIV) => _impl.CreateDecryptor(rgbKey, rgbIV);
System\Security\Cryptography\Cng.NotSupported.cs (4)
98public override ICryptoTransform CreateEncryptor(byte[] rgbKey, byte[]? rgbIV) => null!; 99public override ICryptoTransform CreateDecryptor(byte[] rgbKey, byte[]? rgbIV) => null!; 385public override ICryptoTransform CreateEncryptor(byte[] rgbKey, byte[]? rgbIV) => null!; 386public override ICryptoTransform CreateDecryptor(byte[] rgbKey, byte[]? rgbIV) => null!;
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.Unix.cs (4)
28public override ICryptoTransform CreateDecryptor() => _impl.CreateDecryptor(); 29public override ICryptoTransform CreateEncryptor() => _impl.CreateEncryptor(); 31public override ICryptoTransform CreateEncryptor(byte[] rgbKey, byte[]? rgbIV) => 34public override ICryptoTransform CreateDecryptor(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.Unix.cs (4)
35public override ICryptoTransform CreateDecryptor() => _impl.CreateDecryptor(); 36public override ICryptoTransform CreateEncryptor() => _impl.CreateEncryptor(); 38public override ICryptoTransform CreateEncryptor(byte[] rgbKey, byte[]? rgbIV) => 41public 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\TripleDESCryptoServiceProvider.Wrap.cs (4)
64public override ICryptoTransform CreateEncryptor() => _impl.CreateEncryptor(); 65public override ICryptoTransform CreateDecryptor() => _impl.CreateDecryptor(); 69public override ICryptoTransform CreateEncryptor(byte[] rgbKey, byte[]? rgbIV) => 72public 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)
443internal static byte[] OneShot(this ICryptoTransform transform, byte[] data) 448internal static byte[] OneShot(this ICryptoTransform transform, byte[] data, int offset, int length)
src\libraries\Common\src\System\Security\Cryptography\PasswordBasedEncryption.cs (2)
404using (ICryptoTransform encryptor = cipher.CreateEncryptor(derivedKey, iv)) 938using (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)
720using ICryptoTransform enc = symmetricAlgorithm.CreateEncryptor(); 798using 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.Tests (2)
IdentityModel\SymmetricSecurityKeyTest.cs (2)
51public override ICryptoTransform GetDecryptionTransform(string algorithm, byte[] iv) 56public override ICryptoTransform GetEncryptionTransform(string algorithm, byte[] iv)