3 instantiations of RSACng
System.Security.Cryptography (2)
System\Security\Cryptography\X509Certificates\CertificatePal.Windows.PrivateKey.cs (2)
30return new RSACng(cngKey, transferOwnership: true); 242using (RSACng clonedKey = new RSACng())
System.Security.Cryptography.Pkcs (1)
Internal\Cryptography\Pal\Windows\PkcsPalWindows.cs (1)
148return (T)(object)new RSACng(cngKey);
12 references to RSACng
aspire (1)
Certificates\CertificateGeneration\WindowsCertificateManager.cs (1)
40(key is RSACng cngPrivateKey &&
dotnet-dev-certs (1)
src\aspnetcore\src\Shared\CertificateGeneration\WindowsCertificateManager.cs (1)
44(key is RSACng cngPrivateKey &&
Microsoft.AspNetCore.Server.Kestrel.Core (1)
src\aspnetcore\src\Shared\CertificateGeneration\WindowsCertificateManager.cs (1)
44(key is RSACng cngPrivateKey &&
RepoTasks (1)
src\aspnetcore\src\Shared\CertificateGeneration\WindowsCertificateManager.cs (1)
44(key is RSACng cngPrivateKey &&
System.Core (1)
System.Core.cs (1)
230[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.RSACng))]
System.Security.Cryptography (6)
System\Security\Cryptography\RSABCrypt.cs (2)
272if (hash.Length != RSACng.GetHashSizeInBytes(hashAlgorithm)) 331if (hash.Length != RSACng.GetHashSizeInBytes(hashAlgorithm))
System\Security\Cryptography\RSACng.cs (1)
12private CngAlgorithmCore _core = new CngAlgorithmCore(typeof(RSACng));
System\Security\Cryptography\X509Certificates\CertificatePal.Windows.PrivateKey.cs (3)
209RSACng? rsaCng = rsa as RSACng; 242using (RSACng clonedKey = new RSACng())
System.Security.Cryptography.Cng (1)
System.Security.Cryptography.Cng.cs (1)
31[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.RSACng))]