73 references to X509Store
aspire (9)
Certificates\CertificateGeneration\CertificateManager.cs (2)
141using var store = new X509Store(storeName, location); 1020using var store = new X509Store(StoreName.My, StoreLocation.CurrentUser);
Certificates\CertificateGeneration\UnixCertificateManager.cs (3)
178using (var store = new X509Store(storeName, storeLocation)) 208using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 447using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser);
Certificates\CertificateGeneration\WindowsCertificateManager.cs (3)
65using (var store = new X509Store(storeName, storeLocation)) 77using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 106using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser);
src\Shared\X509Certificate2Extensions.cs (1)
97using var store = new X509Store(storeName, storeLocation);
Aspire.Hosting (4)
ApplicationModel\CertificateAuthorityCollectionResourceExtensions.cs (1)
121using var store = new X509Store(storeName, storeLocation);
DeveloperCertificateService.cs (2)
32using var store = new X509Store(StoreName.My, StoreLocation.CurrentUser); 68using var rootStore = new X509Store(StoreName.Root, StoreLocation.CurrentUser);
src\Shared\X509Certificate2Extensions.cs (1)
97using var store = new X509Store(storeName, storeLocation);
Aspire.Playground.Tests (2)
src\Shared\X509Certificate2Extensions.cs (1)
97using var store = new X509Store(storeName, storeLocation);
tests\Aspire.TestUtilities\RequiresFeatureAttribute.cs (1)
99using var store = new X509Store(StoreName.My, StoreLocation.CurrentUser);
Aspire.TestUtilities (2)
RequiresFeatureAttribute.cs (1)
99using var store = new X509Store(StoreName.My, StoreLocation.CurrentUser);
src\Shared\X509Certificate2Extensions.cs (1)
97using var store = new X509Store(storeName, storeLocation);
Binding.UDS.IntegrationTests (1)
ServiceHelper.cs (1)
50using (var store = new X509Store(StoreName.My, StoreLocation.CurrentUser))
dotnet-dev-certs (8)
src\aspnetcore\src\Shared\CertificateGeneration\CertificateManager.cs (2)
143using var store = new X509Store(storeName, location); 1023using var store = new X509Store(StoreName.My, StoreLocation.CurrentUser);
src\aspnetcore\src\Shared\CertificateGeneration\UnixCertificateManager.cs (3)
178using (var store = new X509Store(storeName, storeLocation)) 208using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 447using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser);
src\aspnetcore\src\Shared\CertificateGeneration\WindowsCertificateManager.cs (3)
69using (var store = new X509Store(storeName, storeLocation)) 81using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 110using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser);
dotnet-svcutil-lib (3)
CmdCredentialsProvider.cs (1)
76X509Store certificateStore = new X509Store(StoreName.My, StoreLocation.CurrentUser);
FrameworkFork\System.ServiceModel\System\IdentityModel\Selectors\X509SecurityTokenProvider.cs (1)
34X509Store store = new X509Store(storeName, storeLocation);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityUtils.cs (1)
907X509Store store = new X509Store(storeName, storeLocation);
Infrastructure.Common (4)
CertificateManager.cs (4)
47using (var store = new X509Store(StoreName.Root, StoreLocation.LocalMachine)) 97using (X509Store store = new X509Store(storeName, storeLocation)) 106using (X509Store store = new X509Store(storeName, storeLocation)) 182using (X509Store store = new X509Store(storeName, storeLocation))
Microsoft.AspNetCore.DeveloperCertificates.XPlat (8)
src\aspnetcore\src\Shared\CertificateGeneration\CertificateManager.cs (2)
143using var store = new X509Store(storeName, location); 1023using var store = new X509Store(StoreName.My, StoreLocation.CurrentUser);
src\aspnetcore\src\Shared\CertificateGeneration\UnixCertificateManager.cs (3)
178using (var store = new X509Store(storeName, storeLocation)) 208using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 447using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser);
src\aspnetcore\src\Shared\CertificateGeneration\WindowsCertificateManager.cs (3)
69using (var store = new X509Store(storeName, storeLocation)) 81using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 110using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser);
Microsoft.AspNetCore.Server.Kestrel.Core (9)
Middleware\HttpsConnectionMiddleware.cs (1)
291var store = new X509Store(StoreName.My, storeLocation);
src\aspnetcore\src\Shared\CertificateGeneration\CertificateManager.cs (2)
143using var store = new X509Store(storeName, location); 1023using var store = new X509Store(StoreName.My, StoreLocation.CurrentUser);
src\aspnetcore\src\Shared\CertificateGeneration\UnixCertificateManager.cs (3)
178using (var store = new X509Store(storeName, storeLocation)) 208using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 447using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser);
src\aspnetcore\src\Shared\CertificateGeneration\WindowsCertificateManager.cs (3)
69using (var store = new X509Store(storeName, storeLocation)) 81using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 110using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser);
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.Commands (1)
SignCommand\CertificateProvider.cs (1)
181using var store = new X509Store(options.StoreName, options.StoreLocation);
NuGet.Configuration (1)
Settings\Items\StoreClientCertItem.cs (1)
239var store = new X509Store(StoreName, StoreLocation);
RepoTasks (8)
src\aspnetcore\src\Shared\CertificateGeneration\CertificateManager.cs (2)
143using var store = new X509Store(storeName, location); 1023using var store = new X509Store(StoreName.My, StoreLocation.CurrentUser);
src\aspnetcore\src\Shared\CertificateGeneration\UnixCertificateManager.cs (3)
178using (var store = new X509Store(storeName, storeLocation)) 208using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 447using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser);
src\aspnetcore\src\Shared\CertificateGeneration\WindowsCertificateManager.cs (3)
69using (var store = new X509Store(storeName, storeLocation)) 81using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 110using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser);
Security.TransportSecurity.IntegrationTests (1)
Tcp\ClientCredentialTypeTests.OSX.cs (1)
153using (store = new X509Store(StoreName.Disallowed, StoreLocation.CurrentUser))
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 (2)
System\Security\Cryptography\X509Certificates\X509Store.cs (2)
28: this(storeName, StoreLocation.CurrentUser) 58: this(storeName, storeLocation)
System.Security.Cryptography.Pkcs (1)
Internal\Cryptography\PkcsHelpers.cs (1)
155using (X509Store store = new X509Store(storeName, storeLocation))
System.ServiceModel.Http (1)
System\ServiceModel\Channels\HttpsChannelFactory.cs (1)
298using (var store = new X509Store(StoreName.My, StoreLocation.CurrentUser))
System.ServiceModel.Primitives (2)
System\IdentityModel\Selectors\X509CertificateValidator.cs (1)
124X509Store store = new X509Store(storeName, StoreLocation.CurrentUser);
System\ServiceModel\Security\SecurityUtils.cs (1)
872X509Store store = new X509Store(storeName, storeLocation);