68 references to Root
dotnet-dev-certs (6)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
870/// corresponding certificate in <paramref name="store"/> (usually the <see cref="StoreName.Root"/> store)."/>
src\Shared\CertificateGeneration\UnixCertificateManager.cs (2)
189using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 363using 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)
107using (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.NewShim.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)
107using (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)) 206return CertificateFromThumbprint(StoreName.Root, PlatformSpecificRootStoreLocation, thumbprint, validOnly); 233certificate = AddToStoreIfNeeded(StoreName.Root, PlatformSpecificRootStoreLocation, certificate);
Microsoft.AspNetCore.DeveloperCertificates.XPlat (6)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
870/// corresponding certificate in <paramref name="store"/> (usually the <see cref="StoreName.Root"/> store)."/>
src\Shared\CertificateGeneration\UnixCertificateManager.cs (2)
189using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 363using 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)
538Manager.RemoveAllCertificates(StoreName.Root, StoreLocation.CurrentUser);
Microsoft.AspNetCore.Server.Kestrel.Core (6)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
870/// corresponding certificate in <paramref name="store"/> (usually the <see cref="StoreName.Root"/> store)."/>
src\Shared\CertificateGeneration\UnixCertificateManager.cs (2)
189using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 363using 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.DotNet.SignCheckLibrary (1)
Verification\XmlVerifier.cs (1)
69using (var rootStore = new X509Store(StoreName.Root))
System.Security.Cryptography (1)
System\Security\Cryptography\X509Certificates\X509Store.cs (1)
49StoreName.Root => RootStoreName,
Templates.Blazor.Tests (6)
src\Shared\CertificateGeneration\CertificateManager.cs (1)
870/// corresponding certificate in <paramref name="store"/> (usually the <see cref="StoreName.Root"/> store)."/>
src\Shared\CertificateGeneration\UnixCertificateManager.cs (2)
189using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 363using 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)
870/// corresponding certificate in <paramref name="store"/> (usually the <see cref="StoreName.Root"/> store)."/>
src\Shared\CertificateGeneration\UnixCertificateManager.cs (2)
189using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 363using 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)
870/// corresponding certificate in <paramref name="store"/> (usually the <see cref="StoreName.Root"/> store)."/>
src\Shared\CertificateGeneration\UnixCertificateManager.cs (2)
189using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 363using 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)
870/// corresponding certificate in <paramref name="store"/> (usually the <see cref="StoreName.Root"/> store)."/>
src\Shared\CertificateGeneration\UnixCertificateManager.cs (2)
189using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 363using 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)
870/// corresponding certificate in <paramref name="store"/> (usually the <see cref="StoreName.Root"/> store)."/>
src\Shared\CertificateGeneration\UnixCertificateManager.cs (2)
189using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 363using 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)