91 references to Root
aspire (4)
src\Shared\X509Certificate2Extensions.cs (2)
92(StoreName.Root, StoreLocation.CurrentUser), 93(StoreName.Root, StoreLocation.LocalMachine),
Utils\EnvironmentChecker\DevCertsCheck.cs (2)
363(StoreName.Root, StoreLocation.CurrentUser), 364(StoreName.Root, StoreLocation.LocalMachine)
Aspire.Hosting (2)
src\Shared\X509Certificate2Extensions.cs (2)
92(StoreName.Root, StoreLocation.CurrentUser), 93(StoreName.Root, StoreLocation.LocalMachine),
Aspire.Playground.Tests (2)
src\Shared\X509Certificate2Extensions.cs (2)
92(StoreName.Root, StoreLocation.CurrentUser), 93(StoreName.Root, StoreLocation.LocalMachine),
Aspire.TestUtilities (2)
src\Shared\X509Certificate2Extensions.cs (2)
92(StoreName.Root, StoreLocation.CurrentUser), 93(StoreName.Root, StoreLocation.LocalMachine),
dotnet-dev-certs (6)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
1058/// corresponding certificate in <paramref name="store"/> (usually the <see cref="StoreName.Root"/> store)."/>
src\Shared\CertificateGeneration\UnixCertificateManager.cs (2)
208using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 447using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser);
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (3)
76using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 105using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 122var isTrusted = ListCertificates(StoreName.Root, StoreLocation.CurrentUser, isValid: true, requireExportable: false)
IIS.FunctionalTests (3)
src\Servers\IIS\IIS\test\Common.FunctionalTests\HttpsTests.cs (1)
106using (var store = new X509Store(StoreName.Root, StoreLocation.LocalMachine))
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\ClientCertificateFixture.cs (2)
23using (var store = new X509Store(StoreName.Root, StoreLocation.LocalMachine)) 75using (var store = new X509Store(StoreName.Root, StoreLocation.LocalMachine))
IIS.LongTests (2)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\ClientCertificateFixture.cs (2)
23using (var store = new X509Store(StoreName.Root, StoreLocation.LocalMachine)) 75using (var store = new X509Store(StoreName.Root, StoreLocation.LocalMachine))
IIS.NewHandler.FunctionalTests (2)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\ClientCertificateFixture.cs (2)
23using (var store = new X509Store(StoreName.Root, StoreLocation.LocalMachine)) 75using (var store = new X509Store(StoreName.Root, StoreLocation.LocalMachine))
IIS.ShadowCopy.Tests (2)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\ClientCertificateFixture.cs (2)
23using (var store = new X509Store(StoreName.Root, StoreLocation.LocalMachine)) 75using (var store = new X509Store(StoreName.Root, StoreLocation.LocalMachine))
IISExpress.FunctionalTests (3)
src\Servers\IIS\IIS\test\Common.FunctionalTests\HttpsTests.cs (1)
106using (var store = new X509Store(StoreName.Root, StoreLocation.LocalMachine))
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\ClientCertificateFixture.cs (2)
23using (var store = new X509Store(StoreName.Root, StoreLocation.LocalMachine)) 75using (var store = new X509Store(StoreName.Root, StoreLocation.LocalMachine))
Infrastructure.Common (3)
CertificateManager.cs (3)
47using (var store = new X509Store(StoreName.Root, StoreLocation.LocalMachine)) 208return CertificateFromThumbprint(StoreName.Root, PlatformSpecificRootStoreLocation, thumbprint, validOnly); 235certificate = AddToStoreIfNeeded(StoreName.Root, PlatformSpecificRootStoreLocation, certificate);
Microsoft.AspNetCore.DeveloperCertificates.XPlat (6)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
1058/// corresponding certificate in <paramref name="store"/> (usually the <see cref="StoreName.Root"/> store)."/>
src\Shared\CertificateGeneration\UnixCertificateManager.cs (2)
208using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 447using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser);
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (3)
76using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 105using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 122var isTrusted = ListCertificates(StoreName.Root, StoreLocation.CurrentUser, isValid: true, requireExportable: false)
Microsoft.AspNetCore.DeveloperCertificates.XPlat.Tests (1)
CertificateManagerTests.cs (1)
572Manager.RemoveAllCertificates(StoreName.Root, StoreLocation.CurrentUser);
Microsoft.AspNetCore.Server.Kestrel.Core (6)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
1058/// corresponding certificate in <paramref name="store"/> (usually the <see cref="StoreName.Root"/> store)."/>
src\Shared\CertificateGeneration\UnixCertificateManager.cs (2)
208using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 447using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser);
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (3)
76using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 105using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 122var isTrusted = ListCertificates(StoreName.Root, StoreLocation.CurrentUser, isValid: true, requireExportable: false)
Microsoft.AspNetCore.Shared.Tests (9)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
1058/// corresponding certificate in <paramref name="store"/> (usually the <see cref="StoreName.Root"/> store)."/>
src\Shared\CertificateGeneration\UnixCertificateManager.cs (2)
208using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 447using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser);
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (3)
76using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 105using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 122var isTrusted = ListCertificates(StoreName.Root, StoreLocation.CurrentUser, isValid: true, requireExportable: false)
TestCertificateManager.cs (3)
284AddCertificate(StoreName.Root, StoreLocation.CurrentUser, certificate, isExportable: true); 290return IsCertificateInStore(StoreName.Root, certificate) ? TrustLevel.Full : TrustLevel.None; 305RemoveFromStores(StoreName.Root, certificate);
Microsoft.DotNet.SignCheckLibrary (1)
Verification\XmlVerifier.cs (1)
69using (var rootStore = new X509Store(StoreName.Root))
RepoTasks (6)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
1058/// corresponding certificate in <paramref name="store"/> (usually the <see cref="StoreName.Root"/> store)."/>
src\Shared\CertificateGeneration\UnixCertificateManager.cs (2)
208using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 447using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser);
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (3)
76using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 105using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 122var isTrusted = ListCertificates(StoreName.Root, StoreLocation.CurrentUser, isValid: true, requireExportable: false)
System.Security.Cryptography (1)
System\Security\Cryptography\X509Certificates\X509Store.cs (1)
49StoreName.Root => RootStoreName,
Templates.Blazor.Tests (6)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
1058/// corresponding certificate in <paramref name="store"/> (usually the <see cref="StoreName.Root"/> store)."/>
src\Shared\CertificateGeneration\UnixCertificateManager.cs (2)
208using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 447using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser);
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (3)
76using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 105using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 122var isTrusted = ListCertificates(StoreName.Root, StoreLocation.CurrentUser, isValid: true, requireExportable: false)
Templates.Blazor.WebAssembly.Auth.Tests (6)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
1058/// corresponding certificate in <paramref name="store"/> (usually the <see cref="StoreName.Root"/> store)."/>
src\Shared\CertificateGeneration\UnixCertificateManager.cs (2)
208using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 447using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser);
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (3)
76using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 105using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 122var isTrusted = ListCertificates(StoreName.Root, StoreLocation.CurrentUser, isValid: true, requireExportable: false)
Templates.Blazor.WebAssembly.Tests (6)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
1058/// corresponding certificate in <paramref name="store"/> (usually the <see cref="StoreName.Root"/> store)."/>
src\Shared\CertificateGeneration\UnixCertificateManager.cs (2)
208using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 447using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser);
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (3)
76using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 105using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 122var isTrusted = ListCertificates(StoreName.Root, StoreLocation.CurrentUser, isValid: true, requireExportable: false)
Templates.Mvc.Tests (6)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
1058/// corresponding certificate in <paramref name="store"/> (usually the <see cref="StoreName.Root"/> store)."/>
src\Shared\CertificateGeneration\UnixCertificateManager.cs (2)
208using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 447using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser);
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (3)
76using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 105using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 122var isTrusted = ListCertificates(StoreName.Root, StoreLocation.CurrentUser, isValid: true, requireExportable: false)
Templates.Tests (6)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
1058/// corresponding certificate in <paramref name="store"/> (usually the <see cref="StoreName.Root"/> store)."/>
src\Shared\CertificateGeneration\UnixCertificateManager.cs (2)
208using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 447using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser);
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (3)
76using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 105using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 122var isTrusted = ListCertificates(StoreName.Root, StoreLocation.CurrentUser, isValid: true, requireExportable: false)