183 references to CurrentUser
Binding.UDS.IntegrationTests (1)
Certificate.Optional.Sample (1)
Client.ChannelLayer.IntegrationTests (3)
dotnet-dev-certs (14)
src\Shared\CertificateGeneration\CertificateManager.cs (6)
170ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
184var currentUserCertificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
372var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false, requireExportable: false);
428var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false);
655var location = StoreLocation.CurrentUser;
790using var store = new X509Store(StoreName.My, StoreLocation.CurrentUser);
dotnet-svcutil-lib (4)
Http3SampleApp (1)
Infrastructure.Common (6)
CertificateManager.cs (6)
55s_PlatformSpecificRootStoreLocation = StoreLocation.CurrentUser;
60s_PlatformSpecificRootStoreLocation = StoreLocation.CurrentUser;
212return CertificateFromThumbprint(StoreName.My, StoreLocation.CurrentUser, thumbprint, validOnly);
218return CertificateFromThumbprint(StoreName.TrustedPeople, StoreLocation.CurrentUser, thumbprint, validOnly);
245certificate = AddToStoreIfNeeded(StoreName.My, StoreLocation.CurrentUser, certificate);
258certificate = AddToStoreIfNeeded(StoreName.TrustedPeople, StoreLocation.CurrentUser, certificate);
InMemory.FunctionalTests (2)
Kestrel.SampleApp (1)
Microsoft.AspNetCore.DataProtection (1)
Microsoft.AspNetCore.DataProtection.Extensions.Tests (7)
Microsoft.AspNetCore.DeveloperCertificates.XPlat (12)
src\Shared\CertificateGeneration\CertificateManager.cs (6)
170ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
184var currentUserCertificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
372var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false, requireExportable: false);
428var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false);
655var location = StoreLocation.CurrentUser;
790using var store = new X509Store(StoreName.My, StoreLocation.CurrentUser);
Microsoft.AspNetCore.DeveloperCertificates.XPlat.Tests (16)
CertificateManagerTests.cs (16)
56var httpsCertificates = _manager.ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false);
113using (var store = new X509Store(StoreName.My, StoreLocation.CurrentUser))
143var httpsCertificate = _manager.ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false).Single(c => c.Subject == TestCertificateSubject);
175var httpsCertificate = _manager.ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false).Single(c => c.Subject == TestCertificateSubject);
208var httpsCertificate = _manager.ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false).Single(c => c.Subject == TestCertificateSubject);
239var httpsCertificate = _manager.ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false).Single(c => c.Subject == TestCertificateSubject);
251var importedCertificate = Assert.Single(_manager.ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false));
272var httpsCertificate = _manager.ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false).Single(c => c.Subject == TestCertificateSubject);
298var httpsCertificate = _manager.ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false).Single(c => c.Subject == TestCertificateSubject);
327var httpsCertificateList = _manager.ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true);
345var httpsCertificateList = _manager.ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true);
362var httpsCertificateList = _manager.ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true);
380var httpsCertificateList = _manager.ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true);
403var httpsCertificateList = _manager.ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true);
470Manager.RemoveAllCertificates(StoreName.My, StoreLocation.CurrentUser);
473Manager.RemoveAllCertificates(StoreName.Root, StoreLocation.CurrentUser);
Microsoft.AspNetCore.Server.Kestrel.Core (19)
src\Shared\CertificateGeneration\CertificateManager.cs (6)
170ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
184var currentUserCertificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
372var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false, requireExportable: false);
428var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false);
655var location = StoreLocation.CurrentUser;
790using var store = new X509Store(StoreName.My, StoreLocation.CurrentUser);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
Microsoft.Build.Tasks.Core (3)
Microsoft.Build.Tasks.UnitTests (1)
PresentationUI (1)
Security.TransportSecurity.IntegrationTests (9)
System.Net.Http (1)
System.Net.Security (2)
System.Security.Cryptography (8)
System.Security.Cryptography.Pkcs (1)
System.Security.Cryptography.Xml (1)
System.ServiceModel.Http (1)
System.ServiceModel.Primitives (4)
Templates.Blazor.Tests (12)
src\Shared\CertificateGeneration\CertificateManager.cs (6)
170ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
184var currentUserCertificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
372var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false, requireExportable: false);
428var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false);
655var location = StoreLocation.CurrentUser;
790using var store = new X509Store(StoreName.My, StoreLocation.CurrentUser);
Templates.Blazor.WebAssembly.Auth.Tests (12)
src\Shared\CertificateGeneration\CertificateManager.cs (6)
170ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
184var currentUserCertificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
372var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false, requireExportable: false);
428var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false);
655var location = StoreLocation.CurrentUser;
790using var store = new X509Store(StoreName.My, StoreLocation.CurrentUser);
Templates.Blazor.WebAssembly.Tests (12)
src\Shared\CertificateGeneration\CertificateManager.cs (6)
170ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
184var currentUserCertificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
372var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false, requireExportable: false);
428var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false);
655var location = StoreLocation.CurrentUser;
790using var store = new X509Store(StoreName.My, StoreLocation.CurrentUser);
Templates.Mvc.Tests (12)
src\Shared\CertificateGeneration\CertificateManager.cs (6)
170ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
184var currentUserCertificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
372var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false, requireExportable: false);
428var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false);
655var location = StoreLocation.CurrentUser;
790using var store = new X509Store(StoreName.My, StoreLocation.CurrentUser);
Templates.Tests (12)
src\Shared\CertificateGeneration\CertificateManager.cs (6)
170ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
184var currentUserCertificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
372var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false, requireExportable: false);
428var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false);
655var location = StoreLocation.CurrentUser;
790using var store = new X509Store(StoreName.My, StoreLocation.CurrentUser);
WebTransportInteractiveSampleApp (1)
WebTransportSampleApp (1)