110 references to X509Store
Binding.UDS.IntegrationTests (1)
ServiceHelper.cs (1)
50using (var store = new X509Store(StoreName.My, StoreLocation.CurrentUser))
dotnet-dev-certs (8)
src\Shared\CertificateGeneration\CertificateManager.cs (2)
91using var store = new X509Store(storeName, location); 835using var store = new X509Store(StoreName.My, StoreLocation.CurrentUser);
src\Shared\CertificateGeneration\UnixCertificateManager.cs (3)
159using (var store = new X509Store(storeName, storeLocation)) 189using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 363using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser);
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (3)
64using (var store = new X509Store(storeName, storeLocation)) 76using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 105using 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);
IIS.FunctionalTests (3)
src\Servers\IIS\IIS\test\Common.FunctionalTests\HttpsTests.cs (1)
107using (var store = new X509Store(StoreName.Root, StoreLocation.LocalMachine))
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\ClientCertificateFixture.cs (2)
23using (var store = new X509Store(StoreName.Root, StoreLocation.LocalMachine)) 75using (var store = new X509Store(StoreName.Root, StoreLocation.LocalMachine))
IIS.LongTests (2)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\ClientCertificateFixture.cs (2)
23using (var store = new X509Store(StoreName.Root, StoreLocation.LocalMachine)) 75using (var store = new X509Store(StoreName.Root, StoreLocation.LocalMachine))
IIS.NewHandler.FunctionalTests (2)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\ClientCertificateFixture.cs (2)
23using (var store = new X509Store(StoreName.Root, StoreLocation.LocalMachine)) 75using (var store = new X509Store(StoreName.Root, StoreLocation.LocalMachine))
IIS.NewShim.FunctionalTests (2)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\ClientCertificateFixture.cs (2)
23using (var store = new X509Store(StoreName.Root, StoreLocation.LocalMachine)) 75using (var store = new X509Store(StoreName.Root, StoreLocation.LocalMachine))
IIS.ShadowCopy.Tests (2)
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\ClientCertificateFixture.cs (2)
23using (var store = new X509Store(StoreName.Root, StoreLocation.LocalMachine)) 75using (var store = new X509Store(StoreName.Root, StoreLocation.LocalMachine))
IISExpress.FunctionalTests (3)
src\Servers\IIS\IIS\test\Common.FunctionalTests\HttpsTests.cs (1)
107using (var store = new X509Store(StoreName.Root, StoreLocation.LocalMachine))
src\Servers\IIS\IIS\test\Common.FunctionalTests\Infrastructure\ClientCertificateFixture.cs (2)
23using (var store = new X509Store(StoreName.Root, StoreLocation.LocalMachine)) 75using (var store = new X509Store(StoreName.Root, StoreLocation.LocalMachine))
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)) 180using (X509Store store = new X509Store(storeName, storeLocation))
InMemory.FunctionalTests (3)
HttpsConnectionMiddlewareTests.cs (1)
806using (var store = new X509Store(StoreName.CertificateAuthority, StoreLocation.CurrentUser))
src\Servers\Kestrel\shared\test\CertHelper.cs (2)
69using (X509Store store = new X509Store(StoreName.CertificateAuthority, StoreLocation.LocalMachine)) 86using (X509Store store = new X509Store(StoreName.CertificateAuthority, StoreLocation.CurrentUser))
Microsoft.AspNetCore.DataProtection.Extensions.Tests (6)
DataProtectionProviderTests.cs (5)
124using (var store = new X509Store(StoreName.My, StoreLocation.CurrentUser)) 133var certificateStore = new X509Store(StoreName.My, StoreLocation.CurrentUser); 173using (var store = new X509Store(StoreName.My, StoreLocation.CurrentUser)) 184using (var certificateStore = new X509Store(StoreName.My, StoreLocation.CurrentUser)) 268using (var store = new X509Store(StoreName.My, StoreLocation.CurrentUser))
X509StoreIsAvailableAttribute.cs (1)
25using (var store = new X509Store(Name, Location))
Microsoft.AspNetCore.DeveloperCertificates.XPlat (8)
src\Shared\CertificateGeneration\CertificateManager.cs (2)
91using var store = new X509Store(storeName, location); 835using var store = new X509Store(StoreName.My, StoreLocation.CurrentUser);
src\Shared\CertificateGeneration\UnixCertificateManager.cs (3)
159using (var store = new X509Store(storeName, storeLocation)) 189using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 363using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser);
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (3)
64using (var store = new X509Store(storeName, storeLocation)) 76using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 105using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser);
Microsoft.AspNetCore.DeveloperCertificates.XPlat.Tests (1)
CertificateManagerTests.cs (1)
113using (var store = new X509Store(StoreName.My, StoreLocation.CurrentUser))
Microsoft.AspNetCore.Server.Kestrel.Core (9)
Middleware\HttpsConnectionMiddleware.cs (1)
261var store = new X509Store(StoreName.My, storeLocation);
src\Shared\CertificateGeneration\CertificateManager.cs (2)
91using var store = new X509Store(storeName, location); 835using var store = new X509Store(StoreName.My, StoreLocation.CurrentUser);
src\Shared\CertificateGeneration\UnixCertificateManager.cs (3)
159using (var store = new X509Store(storeName, storeLocation)) 189using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 363using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser);
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (3)
64using (var store = new X509Store(storeName, storeLocation)) 76using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 105using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (2)
src\Servers\Kestrel\shared\test\CertHelper.cs (2)
69using (X509Store store = new X509Store(StoreName.CertificateAuthority, StoreLocation.LocalMachine)) 86using (X509Store store = new X509Store(StoreName.CertificateAuthority, StoreLocation.CurrentUser))
Microsoft.Build.Tasks.Core (3)
ManifestUtil\SecurityUtil.cs (2)
888var personalStore = new X509Store(StoreName.My, StoreLocation.CurrentUser); 907var personalStore = new X509Store(StoreName.My, StoreLocation.CurrentUser);
ResolveKeySource.cs (1)
178var personalStore = new X509Store(StoreName.My, StoreLocation.CurrentUser);
Microsoft.Build.Tasks.UnitTests (1)
SecurityUtil_Tests.cs (1)
55private static readonly X509Store s_personalStore = new(StoreName.My, StoreLocation.CurrentUser);
Security.TransportSecurity.IntegrationTests (1)
Tcp\ClientCredentialTypeTests.OSX.cs (1)
153using (store = new X509Store(StoreName.Disallowed, StoreLocation.CurrentUser))
System.Net.Http (1)
src\libraries\Common\src\System\Net\Security\CertificateHelper.Unix.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 (3)
System\Security\Cryptography\X509Certificates\ChainPal.OpenSsl.cs (1)
205using (var userIntermediate = new X509Store(StoreName.CertificateAuthority, StoreLocation.CurrentUser))
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)
265using (X509Store store = new X509Store(storeName, storeLocation))
Templates.Blazor.Tests (8)
src\Shared\CertificateGeneration\CertificateManager.cs (2)
91using var store = new X509Store(storeName, location); 835using var store = new X509Store(StoreName.My, StoreLocation.CurrentUser);
src\Shared\CertificateGeneration\UnixCertificateManager.cs (3)
159using (var store = new X509Store(storeName, storeLocation)) 189using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 363using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser);
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (3)
64using (var store = new X509Store(storeName, storeLocation)) 76using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 105using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser);
Templates.Blazor.WebAssembly.Auth.Tests (8)
src\Shared\CertificateGeneration\CertificateManager.cs (2)
91using var store = new X509Store(storeName, location); 835using var store = new X509Store(StoreName.My, StoreLocation.CurrentUser);
src\Shared\CertificateGeneration\UnixCertificateManager.cs (3)
159using (var store = new X509Store(storeName, storeLocation)) 189using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 363using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser);
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (3)
64using (var store = new X509Store(storeName, storeLocation)) 76using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 105using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser);
Templates.Blazor.WebAssembly.Tests (8)
src\Shared\CertificateGeneration\CertificateManager.cs (2)
91using var store = new X509Store(storeName, location); 835using var store = new X509Store(StoreName.My, StoreLocation.CurrentUser);
src\Shared\CertificateGeneration\UnixCertificateManager.cs (3)
159using (var store = new X509Store(storeName, storeLocation)) 189using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 363using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser);
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (3)
64using (var store = new X509Store(storeName, storeLocation)) 76using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 105using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser);
Templates.Mvc.Tests (8)
src\Shared\CertificateGeneration\CertificateManager.cs (2)
91using var store = new X509Store(storeName, location); 835using var store = new X509Store(StoreName.My, StoreLocation.CurrentUser);
src\Shared\CertificateGeneration\UnixCertificateManager.cs (3)
159using (var store = new X509Store(storeName, storeLocation)) 189using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 363using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser);
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (3)
64using (var store = new X509Store(storeName, storeLocation)) 76using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 105using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser);
Templates.Tests (8)
src\Shared\CertificateGeneration\CertificateManager.cs (2)
91using var store = new X509Store(storeName, location); 835using var store = new X509Store(StoreName.My, StoreLocation.CurrentUser);
src\Shared\CertificateGeneration\UnixCertificateManager.cs (3)
159using (var store = new X509Store(storeName, storeLocation)) 189using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 363using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser);
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (3)
64using (var store = new X509Store(storeName, storeLocation)) 76using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser); 105using var store = new X509Store(StoreName.Root, StoreLocation.CurrentUser);