44 references to Root
aspire (9)
Certificates\CertificateGeneration\CertificateManager.cs (1)
1056/// corresponding certificate in <paramref name="store"/> (usually the <see cref="StoreName.Root"/> store)."/>
Certificates\CertificateGeneration\UnixCertificateManager.cs (2)
233using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 472using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser);
Certificates\CertificateGeneration\WindowsCertificateManager.cs (3)
78using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 107using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 124var isTrusted = ListCertificates(StoreName.Root, StoreLocation.CurrentUser, isValid: true, requireExportable: false)
src\Shared\X509Certificate2Extensions.cs (3)
91(StoreName.Root, StoreLocation.CurrentUser), 92(StoreName.Root, StoreLocation.LocalMachine), 151using var rootStore = new X509Store(StoreName.Root, StoreLocation.CurrentUser);
Aspire.Hosting (3)
src\Shared\X509Certificate2Extensions.cs (3)
91(StoreName.Root, StoreLocation.CurrentUser), 92(StoreName.Root, StoreLocation.LocalMachine), 151using var rootStore = new X509Store(StoreName.Root, StoreLocation.CurrentUser);
Aspire.Playground.Tests (3)
src\Shared\X509Certificate2Extensions.cs (3)
91(StoreName.Root, StoreLocation.CurrentUser), 92(StoreName.Root, StoreLocation.LocalMachine), 151using var rootStore = new X509Store(StoreName.Root, StoreLocation.CurrentUser);
Aspire.TestUtilities (3)
src\Shared\X509Certificate2Extensions.cs (3)
91(StoreName.Root, StoreLocation.CurrentUser), 92(StoreName.Root, StoreLocation.LocalMachine), 151using var rootStore = new X509Store(StoreName.Root, StoreLocation.CurrentUser);
dotnet-dev-certs (6)
src\aspnetcore\src\Shared\CertificateGeneration\CertificateManager.cs (1)
1058/// corresponding certificate in <paramref name="store"/> (usually the <see cref="StoreName.Root"/> store)."/>
src\aspnetcore\src\Shared\CertificateGeneration\UnixCertificateManager.cs (2)
209using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 448using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser);
src\aspnetcore\src\Shared\CertificateGeneration\WindowsCertificateManager.cs (3)
81using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 110using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 127var isTrusted = ListCertificates(StoreName.Root, StoreLocation.CurrentUser, isValid: true, requireExportable: false)
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 (5)
src\aspnetcore\src\Shared\CertificateGeneration\UnixCertificateManager.cs (2)
209using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 448using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser);
src\aspnetcore\src\Shared\CertificateGeneration\WindowsCertificateManager.cs (3)
81using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 110using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 127var isTrusted = ListCertificates(StoreName.Root, StoreLocation.CurrentUser, isValid: true, requireExportable: false)
Microsoft.AspNetCore.Server.Kestrel.Core (5)
src\aspnetcore\src\Shared\CertificateGeneration\UnixCertificateManager.cs (2)
209using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 448using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser);
src\aspnetcore\src\Shared\CertificateGeneration\WindowsCertificateManager.cs (3)
81using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 110using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 127var isTrusted = ListCertificates(StoreName.Root, StoreLocation.CurrentUser, isValid: true, requireExportable: false)
NuGet.Configuration (1)
Settings\Items\StoreClientCertItem.cs (1)
181GetString(StoreName.Root),
RepoTasks (5)
src\aspnetcore\src\Shared\CertificateGeneration\UnixCertificateManager.cs (2)
209using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 448using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser);
src\aspnetcore\src\Shared\CertificateGeneration\WindowsCertificateManager.cs (3)
81using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 110using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 127var isTrusted = ListCertificates(StoreName.Root, StoreLocation.CurrentUser, isValid: true, requireExportable: false)
System.Security.Cryptography (1)
System\Security\Cryptography\X509Certificates\X509Store.cs (1)
49StoreName.Root => RootStoreName,