204 references to My
aspire (1)
Aspire.Hosting (1)
Aspire.Playground.Tests (1)
Aspire.TestUtilities (1)
Binding.UDS.IntegrationTests (1)
Client.ChannelLayer.IntegrationTests (3)
dotnet-dev-certs (15)
src\Shared\CertificateGeneration\CertificateManager.cs (9)
254ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
289var allCurrentUserCertificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
290var allLocalMachineCertificates = ListCertificates(StoreName.My, StoreLocation.LocalMachine, isValid: true, requireExportable: true);
546var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false, requireExportable: false);
612var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false);
860var name = StoreName.My;
899var removeLocation = storeName == StoreName.My ? RemoveLocations.Local : RemoveLocations.Trusted;
1023using var store = new X509Store(StoreName.My, StoreLocation.CurrentUser);
1057/// Given a certificate, usually from the <see cref="StoreName.My"/> store, try to find the
dotnet-svcutil-lib (3)
Http3SampleApp (2)
Infrastructure.Common (2)
Kestrel.SampleApp (1)
Microsoft.AspNetCore.DataProtection.Extensions.Tests (7)
Microsoft.AspNetCore.DeveloperCertificates.XPlat (12)
src\Shared\CertificateGeneration\CertificateManager.cs (9)
254ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
289var allCurrentUserCertificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
290var allLocalMachineCertificates = ListCertificates(StoreName.My, StoreLocation.LocalMachine, isValid: true, requireExportable: true);
546var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false, requireExportable: false);
612var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false);
860var name = StoreName.My;
899var removeLocation = storeName == StoreName.My ? RemoveLocations.Local : RemoveLocations.Trusted;
1023using var store = new X509Store(StoreName.My, StoreLocation.CurrentUser);
1057/// Given a certificate, usually from the <see cref="StoreName.My"/> store, try to find the
Microsoft.AspNetCore.DeveloperCertificates.XPlat.Tests (17)
CertificateManagerTests.cs (17)
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);
393var httpsCertificateList = _manager.ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true);
413var httpsCertificateList = _manager.ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true);
451var httpsCertificateList = _manager.ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true);
469var httpsCertificateList = _manager.ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true);
500var httpsCertificateList = _manager.ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true);
569Manager.RemoveAllCertificates(StoreName.My, StoreLocation.CurrentUser);
Microsoft.AspNetCore.Server.Kestrel.Core (15)
src\Shared\CertificateGeneration\CertificateManager.cs (9)
254ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
289var allCurrentUserCertificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
290var allLocalMachineCertificates = ListCertificates(StoreName.My, StoreLocation.LocalMachine, isValid: true, requireExportable: true);
546var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false, requireExportable: false);
612var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false);
860var name = StoreName.My;
899var removeLocation = storeName == StoreName.My ? RemoveLocations.Local : RemoveLocations.Trusted;
1023using var store = new X509Store(StoreName.My, StoreLocation.CurrentUser);
1057/// Given a certificate, usually from the <see cref="StoreName.My"/> store, try to find the
Microsoft.AspNetCore.Shared.Tests (34)
CertificateManagerTests.cs (21)
147manager.AddCertificate(StoreName.My, StoreLocation.CurrentUser, v3Certificate, isExportable: true);
148manager.AddCertificate(StoreName.My, StoreLocation.CurrentUser, v4Certificate, isExportable: true);
149manager.AddCertificate(StoreName.My, StoreLocation.CurrentUser, v6Certificate, isExportable: true);
151var certificates = manager.ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
168manager.AddCertificate(StoreName.My, StoreLocation.CurrentUser, olderCertificate, isExportable: true);
174var certificates = manager.GetStoreCertificates(StoreName.My, StoreLocation.CurrentUser);
187manager.AddCertificate(StoreName.My, StoreLocation.CurrentUser, minimumCertificate, isExportable: true);
189var beforeCount = manager.GetStoreCertificates(StoreName.My, StoreLocation.CurrentUser).Count;
191var afterCount = manager.GetStoreCertificates(StoreName.My, StoreLocation.CurrentUser).Count;
195Assert.DoesNotContain(manager.GetStoreCertificates(StoreName.My, StoreLocation.CurrentUser),
208manager.AddCertificate(StoreName.My, StoreLocation.CurrentUser, minimumCertificate, isExportable: true);
210var beforeCount = manager.GetStoreCertificates(StoreName.My, StoreLocation.CurrentUser).Count;
212var afterCount = manager.GetStoreCertificates(StoreName.My, StoreLocation.CurrentUser).Count;
213var certificates = manager.GetStoreCertificates(StoreName.My, StoreLocation.CurrentUser);
230manager.AddCertificate(StoreName.My, StoreLocation.CurrentUser, currentCertificate, isExportable: true);
232var beforeCount = manager.GetStoreCertificates(StoreName.My, StoreLocation.CurrentUser).Count;
234var afterCount = manager.GetStoreCertificates(StoreName.My, StoreLocation.CurrentUser).Count;
249manager.AddCertificate(StoreName.My, StoreLocation.CurrentUser, newerCertificate, isExportable: true);
251var beforeCount = manager.GetStoreCertificates(StoreName.My, StoreLocation.CurrentUser).Count;
253var afterCount = manager.GetStoreCertificates(StoreName.My, StoreLocation.CurrentUser).Count;
257Assert.Contains(manager.GetStoreCertificates(StoreName.My, StoreLocation.CurrentUser),
src\Shared\CertificateGeneration\CertificateManager.cs (9)
254ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
289var allCurrentUserCertificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
290var allLocalMachineCertificates = ListCertificates(StoreName.My, StoreLocation.LocalMachine, isValid: true, requireExportable: true);
546var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false, requireExportable: false);
612var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false);
860var name = StoreName.My;
899var removeLocation = storeName == StoreName.My ? RemoveLocations.Local : RemoveLocations.Trusted;
1023using var store = new X509Store(StoreName.My, StoreLocation.CurrentUser);
1057/// Given a certificate, usually from the <see cref="StoreName.My"/> store, try to find the
RepoTasks (12)
src\Shared\CertificateGeneration\CertificateManager.cs (9)
254ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
289var allCurrentUserCertificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
290var allLocalMachineCertificates = ListCertificates(StoreName.My, StoreLocation.LocalMachine, isValid: true, requireExportable: true);
546var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false, requireExportable: false);
612var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false);
860var name = StoreName.My;
899var removeLocation = storeName == StoreName.My ? RemoveLocations.Local : RemoveLocations.Trusted;
1023using var store = new X509Store(StoreName.My, StoreLocation.CurrentUser);
1057/// Given a certificate, usually from the <see cref="StoreName.My"/> store, try to find the
Security.TransportSecurity.IntegrationTests (8)
System.Net.Http (1)
System.Net.Security (1)
System.Security.Cryptography (1)
System.Security.Cryptography.Pkcs (2)
System.ServiceModel.Http (1)
System.ServiceModel.Primitives (2)
Templates.Blazor.Tests (12)
src\Shared\CertificateGeneration\CertificateManager.cs (9)
254ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
289var allCurrentUserCertificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
290var allLocalMachineCertificates = ListCertificates(StoreName.My, StoreLocation.LocalMachine, isValid: true, requireExportable: true);
546var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false, requireExportable: false);
612var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false);
860var name = StoreName.My;
899var removeLocation = storeName == StoreName.My ? RemoveLocations.Local : RemoveLocations.Trusted;
1023using var store = new X509Store(StoreName.My, StoreLocation.CurrentUser);
1057/// Given a certificate, usually from the <see cref="StoreName.My"/> store, try to find the
Templates.Blazor.WebAssembly.Auth.Tests (12)
src\Shared\CertificateGeneration\CertificateManager.cs (9)
254ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
289var allCurrentUserCertificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
290var allLocalMachineCertificates = ListCertificates(StoreName.My, StoreLocation.LocalMachine, isValid: true, requireExportable: true);
546var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false, requireExportable: false);
612var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false);
860var name = StoreName.My;
899var removeLocation = storeName == StoreName.My ? RemoveLocations.Local : RemoveLocations.Trusted;
1023using var store = new X509Store(StoreName.My, StoreLocation.CurrentUser);
1057/// Given a certificate, usually from the <see cref="StoreName.My"/> store, try to find the
Templates.Blazor.WebAssembly.Tests (12)
src\Shared\CertificateGeneration\CertificateManager.cs (9)
254ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
289var allCurrentUserCertificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
290var allLocalMachineCertificates = ListCertificates(StoreName.My, StoreLocation.LocalMachine, isValid: true, requireExportable: true);
546var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false, requireExportable: false);
612var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false);
860var name = StoreName.My;
899var removeLocation = storeName == StoreName.My ? RemoveLocations.Local : RemoveLocations.Trusted;
1023using var store = new X509Store(StoreName.My, StoreLocation.CurrentUser);
1057/// Given a certificate, usually from the <see cref="StoreName.My"/> store, try to find the
Templates.Mvc.Tests (12)
src\Shared\CertificateGeneration\CertificateManager.cs (9)
254ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
289var allCurrentUserCertificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
290var allLocalMachineCertificates = ListCertificates(StoreName.My, StoreLocation.LocalMachine, isValid: true, requireExportable: true);
546var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false, requireExportable: false);
612var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false);
860var name = StoreName.My;
899var removeLocation = storeName == StoreName.My ? RemoveLocations.Local : RemoveLocations.Trusted;
1023using var store = new X509Store(StoreName.My, StoreLocation.CurrentUser);
1057/// Given a certificate, usually from the <see cref="StoreName.My"/> store, try to find the
Templates.Tests (12)
src\Shared\CertificateGeneration\CertificateManager.cs (9)
254ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
289var allCurrentUserCertificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
290var allLocalMachineCertificates = ListCertificates(StoreName.My, StoreLocation.LocalMachine, isValid: true, requireExportable: true);
546var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false, requireExportable: false);
612var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false);
860var name = StoreName.My;
899var removeLocation = storeName == StoreName.My ? RemoveLocations.Local : RemoveLocations.Trusted;
1023using var store = new X509Store(StoreName.My, StoreLocation.CurrentUser);
1057/// Given a certificate, usually from the <see cref="StoreName.My"/> store, try to find the