105 references to My
aspire (14)
Certificates\CertificateGeneration\CertificateManager.cs (9)
252ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true); 287var allCurrentUserCertificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true); 288var allLocalMachineCertificates = ListCertificates(StoreName.My, StoreLocation.LocalMachine, isValid: true, requireExportable: true); 543var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false, requireExportable: false); 609var certificates = ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false); 857var name = StoreName.My; 896var removeLocation = storeName == StoreName.My ? RemoveLocations.Local : RemoveLocations.Trusted; 1020using var store = new X509Store(StoreName.My, StoreLocation.CurrentUser); 1054/// Given a certificate, usually from the <see cref="StoreName.My"/> store, try to find the
Certificates\CertificateGeneration\MacOSCertificateManager.cs (2)
378return ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false); 383if (store.Name! == StoreName.My.ToString() && store.Location == StoreLocation.CurrentUser && Directory.Exists(s_macOSUserHttpsCertificateLocation))
Certificates\CertificateGeneration\UnixCertificateManager.cs (1)
537return ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false, requireExportable: false);
Certificates\NativeCertificateToolRunner.cs (2)
20StoreName.My, StoreLocation.CurrentUser, isValid: true); 71StoreName.My, StoreLocation.CurrentUser, isValid: true);
Aspire.Hosting (1)
DeveloperCertificateService.cs (1)
32using var store = new X509Store(StoreName.My, StoreLocation.CurrentUser);
Aspire.Playground.Tests (1)
tests\Aspire.TestUtilities\RequiresFeatureAttribute.cs (1)
99using var store = new X509Store(StoreName.My, StoreLocation.CurrentUser);
Aspire.TestUtilities (1)
RequiresFeatureAttribute.cs (1)
99using var store = new X509Store(StoreName.My, StoreLocation.CurrentUser);
Binding.UDS.IntegrationTests (1)
ServiceHelper.cs (1)
50using (var store = new X509Store(StoreName.My, StoreLocation.CurrentUser))
Client.ChannelLayer.IntegrationTests (3)
DuplexChannelWithSynchronizationContext.cs (3)
48StoreName.My, 110StoreName.My, 187StoreName.My,
dotnet-dev-certs (15)
Program.cs (3)
307var certificates = certificateManager.ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true); 368var availableCertificates = CertificateManager.Instance.ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true); 383var certificates = manager.ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, exportPath.HasValue());
src\aspnetcore\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
src\aspnetcore\src\Shared\CertificateGeneration\MacOSCertificateManager.cs (2)
378return ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false); 383if (store.Name! == StoreName.My.ToString() && store.Location == StoreLocation.CurrentUser && Directory.Exists(MacOSUserHttpsCertificateLocation))
src\aspnetcore\src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
537return ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false, requireExportable: false);
dotnet-svcutil-lib (3)
CmdCredentialsProvider.cs (1)
76X509Store certificateStore = new X509Store(StoreName.My, StoreLocation.CurrentUser);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\X509CertificateInitiatorClientCredential.cs (1)
12internal const StoreName DefaultStoreName = StoreName.My;
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\X509CertificateRecipientClientCredential.cs (1)
16internal const StoreName DefaultStoreName = StoreName.My;
Infrastructure.Common (2)
CertificateManager.cs (2)
214return CertificateFromThumbprint(StoreName.My, StoreLocation.CurrentUser, thumbprint, validOnly); 247certificate = AddToStoreIfNeeded(StoreName.My, StoreLocation.CurrentUser, certificate);
Microsoft.AspNetCore.DeveloperCertificates.XPlat (12)
src\aspnetcore\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
src\aspnetcore\src\Shared\CertificateGeneration\MacOSCertificateManager.cs (2)
378return ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false); 383if (store.Name! == StoreName.My.ToString() && store.Location == StoreLocation.CurrentUser && Directory.Exists(MacOSUserHttpsCertificateLocation))
src\aspnetcore\src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
537return ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false, requireExportable: false);
Microsoft.AspNetCore.Server.Kestrel.Core (15)
Internal\Certificates\CertificateConfigLoader.cs (1)
327var storeName = string.IsNullOrEmpty(certInfo.Store) ? StoreName.My.ToString() : certInfo.Store;
KestrelServerOptions.cs (1)
382var certs = CertificateManager.Instance.ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: false);
Middleware\HttpsConnectionMiddleware.cs (1)
291var store = new X509Store(StoreName.My, storeLocation);
src\aspnetcore\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
src\aspnetcore\src\Shared\CertificateGeneration\MacOSCertificateManager.cs (2)
378return ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false); 383if (store.Name! == StoreName.My.ToString() && store.Location == StoreLocation.CurrentUser && Directory.Exists(MacOSUserHttpsCertificateLocation))
src\aspnetcore\src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
537return ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false, requireExportable: false);
Microsoft.Build.Tasks.Core (3)
ManifestUtil\SecurityUtil.cs (2)
884var personalStore = new X509Store(StoreName.My, StoreLocation.CurrentUser); 903var personalStore = new X509Store(StoreName.My, StoreLocation.CurrentUser);
ResolveKeySource.cs (1)
179var personalStore = new X509Store(StoreName.My, StoreLocation.CurrentUser);
NuGet.CommandLine.XPlat (1)
Commands\Signing\SignCommand.cs (1)
202StoreName storeName = StoreName.My;
NuGet.Configuration (2)
Settings\Items\StoreClientCertItem.cs (2)
25private const StoreName DefaultStoreName = StoreName.My; 180GetString(StoreName.My),
RepoTasks (12)
src\aspnetcore\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
src\aspnetcore\src\Shared\CertificateGeneration\MacOSCertificateManager.cs (2)
378return ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false); 383if (store.Name! == StoreName.My.ToString() && store.Location == StoreLocation.CurrentUser && Directory.Exists(MacOSUserHttpsCertificateLocation))
src\aspnetcore\src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
537return ListCertificates(StoreName.My, StoreLocation.CurrentUser, isValid: false, requireExportable: false);
Security.TransportSecurity.IntegrationTests (8)
Https\HttpsTests.4.1.0.cs (5)
44StoreName.My, 377StoreName.My, 426StoreName.My, 488StoreName.My, 548StoreName.My,
Tcp\ClientCredentialTypeTests.4.1.0.cs (2)
41StoreName.My, 93StoreName.My,
Tcp\ClientCredentialTypeTests.4.1.1.cs (1)
252StoreName.My,
System.Net.Http (1)
src\runtime\src\libraries\Common\src\System\Net\Security\CertificateHelper.Unix.cs (1)
14using (var myStore = new X509Store(StoreName.My, StoreLocation.CurrentUser))
System.Net.Http.WinHttpHandler (1)
src\runtime\src\libraries\Common\src\System\Net\Security\CertificateHelper.Windows.cs (1)
14using (var myStore = new X509Store(StoreName.My, StoreLocation.CurrentUser))
System.Net.Security (1)
System\Net\CertificateValidationPal.Unix.cs (1)
184X509Store store = new X509Store(StoreName.My, storeLocation);
System.Security.Cryptography (1)
System\Security\Cryptography\X509Certificates\X509Store.cs (1)
48StoreName.My => MyStoreName,
System.Security.Cryptography.Pkcs (4)
Internal\Cryptography\Pal\AnyOS\ManagedPal.cs (2)
20certs.AddRange(PkcsHelpers.GetStoreCertificates(StoreName.My, StoreLocation.CurrentUser, openExistingOnly: false)); 26PkcsHelpers.GetStoreCertificates(StoreName.My, StoreLocation.LocalMachine, openExistingOnly: false));
Internal\Cryptography\Pal\Windows\PkcsPalWindows.cs (2)
59certs.AddRange(PkcsHelpers.GetStoreCertificates(StoreName.My, StoreLocation.CurrentUser, openExistingOnly: true)); 60certs.AddRange(PkcsHelpers.GetStoreCertificates(StoreName.My, StoreLocation.LocalMachine, openExistingOnly: true));
System.ServiceModel.Http (1)
System\ServiceModel\Channels\HttpsChannelFactory.cs (1)
298using (var store = new X509Store(StoreName.My, StoreLocation.CurrentUser))
System.ServiceModel.Primitives (2)
System\ServiceModel\Security\X509CertificateInitiatorClientCredential.cs (1)
13internal const StoreName DefaultStoreName = StoreName.My;
System\ServiceModel\Security\X509CertificateRecipientClientCredential.cs (1)
16internal const StoreName DefaultStoreName = StoreName.My;