197 references to CurrentUser
Aspire.Dashboard (1)
Binding.UDS.IntegrationTests (1)
Certificate.Optional.Sample (1)
Client.ChannelLayer.IntegrationTests (3)
dotnet-dev-certs (16)
src\Shared\CertificateGeneration\CertificateManager.cs (6)
182ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
196var currentUserCertificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
406var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false, requireExportable: false);
465var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false);
699var location = StoreLocation.CurrentUser;
835using 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 (14)
src\Shared\CertificateGeneration\CertificateManager.cs (6)
182ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
196var currentUserCertificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
406var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false, requireExportable: false);
465var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false);
699var location = StoreLocation.CurrentUser;
835using var store = new X509Store(StoreName.My, StoreLocation.CurrentUser);
Microsoft.AspNetCore.DeveloperCertificates.XPlat.Tests (18)
CertificateManagerTests.cs (18)
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);
299var httpsCertificate = _manager.ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false).Single(c => c.Subject == TestCertificateSubject);
321Assert.Empty(_manager.ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false));
339var httpsCertificate = _manager.ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false).Single(c => c.Subject == TestCertificateSubject);
392var httpsCertificateList = _manager.ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true);
410var httpsCertificateList = _manager.ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true);
427var httpsCertificateList = _manager.ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true);
445var httpsCertificateList = _manager.ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true);
468var httpsCertificateList = _manager.ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true);
535Manager.RemoveAllCertificates(StoreName.My, StoreLocation.CurrentUser);
538Manager.RemoveAllCertificates(StoreName.Root, StoreLocation.CurrentUser);
Microsoft.AspNetCore.Server.Kestrel.Core (21)
src\Shared\CertificateGeneration\CertificateManager.cs (6)
182ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
196var currentUserCertificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
406var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false, requireExportable: false);
465var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false);
699var location = StoreLocation.CurrentUser;
835using 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)
Templates.Blazor.Tests (14)
src\Shared\CertificateGeneration\CertificateManager.cs (6)
182ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
196var currentUserCertificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
406var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false, requireExportable: false);
465var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false);
699var location = StoreLocation.CurrentUser;
835using var store = new X509Store(StoreName.My, StoreLocation.CurrentUser);
Templates.Blazor.WebAssembly.Auth.Tests (14)
src\Shared\CertificateGeneration\CertificateManager.cs (6)
182ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
196var currentUserCertificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
406var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false, requireExportable: false);
465var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false);
699var location = StoreLocation.CurrentUser;
835using var store = new X509Store(StoreName.My, StoreLocation.CurrentUser);
Templates.Blazor.WebAssembly.Tests (14)
src\Shared\CertificateGeneration\CertificateManager.cs (6)
182ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
196var currentUserCertificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
406var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false, requireExportable: false);
465var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false);
699var location = StoreLocation.CurrentUser;
835using var store = new X509Store(StoreName.My, StoreLocation.CurrentUser);
Templates.Mvc.Tests (14)
src\Shared\CertificateGeneration\CertificateManager.cs (6)
182ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
196var currentUserCertificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
406var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false, requireExportable: false);
465var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false);
699var location = StoreLocation.CurrentUser;
835using var store = new X509Store(StoreName.My, StoreLocation.CurrentUser);
Templates.Tests (14)
src\Shared\CertificateGeneration\CertificateManager.cs (6)
182ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
196var currentUserCertificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
406var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false, requireExportable: false);
465var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false);
699var location = StoreLocation.CurrentUser;
835using var store = new X509Store(StoreName.My, StoreLocation.CurrentUser);
WebTransportInteractiveSampleApp (1)
WebTransportSampleApp (1)