38 references to Create
Aspire.Dashboard.Components.Tests (1)
tests\Shared\Telemetry\TelemetryTestHelpers.cs (1)
331using var rsa = RSA.Create(2048);
Aspire.Dashboard.Tests (1)
tests\Shared\Telemetry\TelemetryTestHelpers.cs (1)
331using var rsa = RSA.Create(2048);
dotnet-dev-certs (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
836var rsa = RSA.Create(minimumKeySize);
dotnet-watch (2)
CertGenerator.cs (1)
17var rsa = RSA.Create(rsaKeySize); // Create asymmetric RSA key pair.
SharedSecretProvider.cs (1)
13private readonly RSA _rsa = RSA.Create(2048);
IIS.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\ClientCertificateFixture.cs (1)
95var rsa = RSA.Create(minimumKeySize);
IIS.LongTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\ClientCertificateFixture.cs (1)
95var rsa = RSA.Create(minimumKeySize);
IIS.NewHandler.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\ClientCertificateFixture.cs (1)
95var rsa = RSA.Create(minimumKeySize);
IIS.NewShim.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\ClientCertificateFixture.cs (1)
95var rsa = RSA.Create(minimumKeySize);
IIS.ShadowCopy.Tests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\ClientCertificateFixture.cs (1)
95var rsa = RSA.Create(minimumKeySize);
IISExpress.FunctionalTests (1)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\ClientCertificateFixture.cs (1)
95var rsa = RSA.Create(minimumKeySize);
InMemory.FunctionalTests (3)
src\Servers\Kestrel\shared\test\CertificateAuthority.cs (3)
817using (RSA rootKey = RSA.Create(keySize)) 818using (RSA eeKey = RSA.Create(keySize)) 856using RSA intermediateKey = RSA.Create(keySize);
Microsoft.AspNetCore.Authentication.Test (1)
src\Shared\test\Certificates\Certificates.cs (1)
80using (var key = RSA.Create(2048))
Microsoft.AspNetCore.DeveloperCertificates.XPlat (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
836var rsa = RSA.Create(minimumKeySize);
Microsoft.AspNetCore.HttpOverrides.Tests (1)
src\Shared\test\Certificates\Certificates.cs (1)
80using (var key = RSA.Create(2048))
Microsoft.AspNetCore.Identity.Test (1)
Passkeys\CredentialKeyPair.cs (1)
92var rsa = RSA.Create(KeySize);
Microsoft.AspNetCore.Server.Kestrel.Core (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
836var rsa = RSA.Create(minimumKeySize);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (3)
src\Servers\Kestrel\shared\test\CertificateAuthority.cs (3)
817using (RSA rootKey = RSA.Create(keySize)) 818using (RSA eeKey = RSA.Create(keySize)) 856using RSA intermediateKey = RSA.Create(keySize);
Microsoft.AspNetCore.Server.Kestrel.Tests (1)
KestrelConfigurationLoaderTests.cs (1)
866using (var rsa = RSA.Create(2048))
Microsoft.DotNet.HotReload.Client.Package (1)
Web\SharedSecretProvider.cs (1)
13private readonly RSA _rsa = RSA.Create(2048);
Microsoft.DotNet.HotReload.Client.Tests (1)
SharedSecretProvider.cs (1)
13private readonly RSA _rsa = RSA.Create(2048);
Microsoft.DotNet.SignTool.Tests (1)
StrongNameSupportHelper.cs (1)
13using (RSA rsa = RSA.Create(2048))
Microsoft.Extensions.DotNetDeltaApplier.Tests (1)
SharedSecretProvider.cs (1)
13private readonly RSA _rsa = RSA.Create(2048);
Microsoft.NET.Build.Containers.UnitTests (1)
RegistryTests.cs (1)
416var key = RSA.Create(2048);
Microsoft.WebTools.AspireService.Package (1)
Helpers\CertGenerator.cs (1)
17var rsa = RSA.Create(rsaKeySize); // Create asymmetric RSA key pair.
Microsoft.WebTools.AspireService.Tests (1)
CertGenerator.cs (1)
17var rsa = RSA.Create(rsaKeySize); // Create asymmetric RSA key pair.
System.Security.Cryptography (2)
src\libraries\Common\src\System\Security\Cryptography\CompositeMLDsaManaged.RSA.cs (1)
59private static RSA CreateRSA(int keySizeInBits) => RSA.Create(keySizeInBits);
System\Security\Cryptography\RSACryptoServiceProvider.Unix.cs (1)
27_impl = RSA.Create(dwKeySize);
System.ServiceModel.Primitives.Tests (1)
ServiceModel\X509CertificateEndpointIdentityTest.cs (1)
94using (RSA rsa = RSA.Create(2048))
Templates.Blazor.Tests (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
836var rsa = RSA.Create(minimumKeySize);
Templates.Blazor.WebAssembly.Auth.Tests (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
836var rsa = RSA.Create(minimumKeySize);
Templates.Blazor.WebAssembly.Tests (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
836var rsa = RSA.Create(minimumKeySize);
Templates.Mvc.Tests (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
836var rsa = RSA.Create(minimumKeySize);
Templates.Tests (1)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
836var rsa = RSA.Create(minimumKeySize);