116 instantiations of X509Store
Aspire.Dashboard (1)
ServiceClient\DashboardClient.cs (1)
198using var store = new X509Store(storeName: storeName, storeLocation: location);
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)
132using var store = new X509Store(storeName, location); 880using 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)
106using (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)
106using (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 (6)
CertificateManager.cs (6)
47using (var store = new X509Store(StoreName.Root, StoreLocation.LocalMachine)) 97using (X509Store store = new X509Store(storeName, storeLocation)) 106using (X509Store store = new X509Store(storeName, storeLocation)) 140using (X509Store store = new X509Store(keychain.DangerousGetHandle())) 180using (X509Store store = new X509Store(storeName, storeLocation)) 194using (X509Store store = new X509Store(handle.DangerousGetHandle()))
InMemory.FunctionalTests (3)
HttpsConnectionMiddlewareTests.cs (1)
810using (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 (1)
XmlEncryption\CertificateResolver.cs (1)
37var store = new X509Store(location);
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)
132using var store = new X509Store(storeName, location); 880using 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.HttpSys.FunctionalTests (1)
HttpsTests.cs (1)
321var store = new X509Store();
Microsoft.AspNetCore.Server.Kestrel.Core (10)
CertificateLoader.cs (1)
33using (var store = new X509Store(storeName, storeLocation))
Middleware\HttpsConnectionMiddleware.cs (1)
274var store = new X509Store(StoreName.My, storeLocation);
src\Shared\CertificateGeneration\CertificateManager.cs (2)
132using var store = new X509Store(storeName, location); 880using 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.DotNet.SignCheckLibrary (1)
Verification\XmlVerifier.cs (1)
69using (var rootStore = new X509Store(StoreName.Root))
PresentationUI (1)
MS\Internal\Documents\DocumentSignatureManager.cs (1)
905X509Store store = new X509Store(StoreLocation.CurrentUser);
Security.TransportSecurity.IntegrationTests (2)
Tcp\ClientCredentialTypeTests.OSX.cs (2)
143using (store = new X509Store(keychain.DangerousGetHandle())) 153using (store = new X509Store(StoreName.Disallowed, StoreLocation.CurrentUser))
System.Security.Cryptography.Pkcs (1)
Internal\Cryptography\PkcsHelpers.cs (1)
155using (X509Store store = new X509Store(storeName, storeLocation))
System.Security.Cryptography.Xml (2)
System\Security\Cryptography\Xml\Utils.cs (2)
652stores[0] = new X509Store(storeName, StoreLocation.CurrentUser); 653stores[1] = new X509Store(storeName, StoreLocation.LocalMachine);
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);
Templates.Blazor.Tests (8)
src\Shared\CertificateGeneration\CertificateManager.cs (2)
132using var store = new X509Store(storeName, location); 880using 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)
132using var store = new X509Store(storeName, location); 880using 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)
132using var store = new X509Store(storeName, location); 880using 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)
132using var store = new X509Store(storeName, location); 880using 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)
132using var store = new X509Store(storeName, location); 880using 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);
WebTransportInteractiveSampleApp (1)
Program.cs (1)
165var store = new X509Store("KestrelSampleWebTransportCertificates", StoreLocation.CurrentUser);
WebTransportSampleApp (1)
Program.cs (1)
50var store = new X509Store("KestrelSampleWebTransportCertificates", StoreLocation.CurrentUser);
156 references to X509Store
Aspire.Dashboard (1)
ServiceClient\DashboardClient.cs (1)
198using var store = new X509Store(storeName: storeName, storeLocation: location);
Binding.UDS.IntegrationTests (1)
ServiceHelper.cs (1)
50using (var store = new X509Store(StoreName.My, StoreLocation.CurrentUser))
dotnet-dev-certs (12)
src\Shared\CertificateGeneration\CertificateManager.cs (5)
132using var store = new X509Store(storeName, location); 217protected virtual void PopulateCertificatesFromStore(X509Store store, List<X509Certificate2> certificates, bool requireExportable) 880using var store = new X509Store(StoreName.My, StoreLocation.CurrentUser); 917/// <param name="store">An open <see cref="X509Store"/>.</param> 922internal static bool TryFindCertificateInStore(X509Store store, X509Certificate2 certificate, [NotNullWhen(true)] out X509Certificate2? foundCertificate)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
381protected override void PopulateCertificatesFromStore(X509Store store, List<X509Certificate2> certificates, bool requireExportable)
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)
106using (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)
106using (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 (7)
CertificateManager.cs (7)
47using (var store = new X509Store(StoreName.Root, StoreLocation.LocalMachine)) 97using (X509Store store = new X509Store(storeName, storeLocation)) 106using (X509Store store = new X509Store(storeName, storeLocation)) 140using (X509Store store = new X509Store(keychain.DangerousGetHandle())) 168private static X509Certificate2 CertificateFromThumbprint(X509Store store, string thumbprint, bool validOnly) 180using (X509Store store = new X509Store(storeName, storeLocation)) 194using (X509Store store = new X509Store(handle.DangerousGetHandle()))
InMemory.FunctionalTests (3)
HttpsConnectionMiddlewareTests.cs (1)
810using (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 (2)
XmlEncryption\CertificateResolver.cs (1)
37var store = new X509Store(location);
XmlEncryption\EncryptedXmlDecryptor.cs (1)
87/// Can decrypt the XML key data from an <see cref="X509Certificate2"/> that is not in stored in <see cref="X509Store"/>.
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 (12)
src\Shared\CertificateGeneration\CertificateManager.cs (5)
132using var store = new X509Store(storeName, location); 217protected virtual void PopulateCertificatesFromStore(X509Store store, List<X509Certificate2> certificates, bool requireExportable) 880using var store = new X509Store(StoreName.My, StoreLocation.CurrentUser); 917/// <param name="store">An open <see cref="X509Store"/>.</param> 922internal static bool TryFindCertificateInStore(X509Store store, X509Certificate2 certificate, [NotNullWhen(true)] out X509Certificate2? foundCertificate)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
381protected override void PopulateCertificatesFromStore(X509Store store, List<X509Certificate2> certificates, bool requireExportable)
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.HttpSys.FunctionalTests (1)
HttpsTests.cs (1)
321var store = new X509Store();
Microsoft.AspNetCore.Server.Kestrel.Core (16)
CertificateLoader.cs (1)
33using (var store = new X509Store(storeName, storeLocation))
Middleware\HttpsConnectionMiddleware.cs (3)
270X509Store? OpenStore(StoreLocation storeLocation) 274var store = new X509Store(StoreName.My, storeLocation); 287var store = OpenStore(StoreLocation.LocalMachine);
src\Shared\CertificateGeneration\CertificateManager.cs (5)
132using var store = new X509Store(storeName, location); 217protected virtual void PopulateCertificatesFromStore(X509Store store, List<X509Certificate2> certificates, bool requireExportable) 880using var store = new X509Store(StoreName.My, StoreLocation.CurrentUser); 917/// <param name="store">An open <see cref="X509Store"/>.</param> 922internal static bool TryFindCertificateInStore(X509Store store, X509Certificate2 certificate, [NotNullWhen(true)] out X509Certificate2? foundCertificate)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
381protected override void PopulateCertificatesFromStore(X509Store store, List<X509Certificate2> certificates, bool requireExportable)
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.DotNet.SignCheckLibrary (1)
Verification\XmlVerifier.cs (1)
69using (var rootStore = new X509Store(StoreName.Root))
netstandard (1)
netstandard.cs (1)
1980[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.X509Certificates.X509Store))]
PresentationUI (1)
MS\Internal\Documents\DocumentSignatureManager.cs (1)
905X509Store store = new X509Store(StoreLocation.CurrentUser);
Security.TransportSecurity.IntegrationTests (2)
Tcp\ClientCredentialTypeTests.OSX.cs (2)
103static bool StoreContainsCertificate(X509Store store, X509Certificate2 certificate) 140X509Store store;
System (1)
src\libraries\shims\System\ref\System.cs (1)
886[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.X509Certificates.X509Store))]
System.Net.Security (1)
artifacts\obj\System.Net.Security\Debug\net10.0\System.Net.Security.notsupported.cs (1)
198public static System.Net.Security.SslCertificateTrust CreateForX509Store(System.Security.Cryptography.X509Certificates.X509Store store, bool sendTrustInHandshake = false) { throw new System.PlatformNotSupportedException(System.SR.SystemNetSecurity_PlatformNotSupported); }
System.Security.Cryptography.Pkcs (1)
Internal\Cryptography\PkcsHelpers.cs (1)
155using (X509Store store = new X509Store(storeName, storeLocation))
System.Security.Cryptography.X509Certificates (1)
System.Security.Cryptography.X509Certificates.cs (1)
44[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.X509Certificates.X509Store))]
System.Security.Cryptography.Xml (2)
System\Security\Cryptography\Xml\Utils.cs (2)
650X509Store[] stores = new X509Store[2];
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);
Templates.Blazor.Tests (12)
src\Shared\CertificateGeneration\CertificateManager.cs (5)
132using var store = new X509Store(storeName, location); 217protected virtual void PopulateCertificatesFromStore(X509Store store, List<X509Certificate2> certificates, bool requireExportable) 880using var store = new X509Store(StoreName.My, StoreLocation.CurrentUser); 917/// <param name="store">An open <see cref="X509Store"/>.</param> 922internal static bool TryFindCertificateInStore(X509Store store, X509Certificate2 certificate, [NotNullWhen(true)] out X509Certificate2? foundCertificate)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
381protected override void PopulateCertificatesFromStore(X509Store store, List<X509Certificate2> certificates, bool requireExportable)
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 (12)
src\Shared\CertificateGeneration\CertificateManager.cs (5)
132using var store = new X509Store(storeName, location); 217protected virtual void PopulateCertificatesFromStore(X509Store store, List<X509Certificate2> certificates, bool requireExportable) 880using var store = new X509Store(StoreName.My, StoreLocation.CurrentUser); 917/// <param name="store">An open <see cref="X509Store"/>.</param> 922internal static bool TryFindCertificateInStore(X509Store store, X509Certificate2 certificate, [NotNullWhen(true)] out X509Certificate2? foundCertificate)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
381protected override void PopulateCertificatesFromStore(X509Store store, List<X509Certificate2> certificates, bool requireExportable)
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 (12)
src\Shared\CertificateGeneration\CertificateManager.cs (5)
132using var store = new X509Store(storeName, location); 217protected virtual void PopulateCertificatesFromStore(X509Store store, List<X509Certificate2> certificates, bool requireExportable) 880using var store = new X509Store(StoreName.My, StoreLocation.CurrentUser); 917/// <param name="store">An open <see cref="X509Store"/>.</param> 922internal static bool TryFindCertificateInStore(X509Store store, X509Certificate2 certificate, [NotNullWhen(true)] out X509Certificate2? foundCertificate)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
381protected override void PopulateCertificatesFromStore(X509Store store, List<X509Certificate2> certificates, bool requireExportable)
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 (12)
src\Shared\CertificateGeneration\CertificateManager.cs (5)
132using var store = new X509Store(storeName, location); 217protected virtual void PopulateCertificatesFromStore(X509Store store, List<X509Certificate2> certificates, bool requireExportable) 880using var store = new X509Store(StoreName.My, StoreLocation.CurrentUser); 917/// <param name="store">An open <see cref="X509Store"/>.</param> 922internal static bool TryFindCertificateInStore(X509Store store, X509Certificate2 certificate, [NotNullWhen(true)] out X509Certificate2? foundCertificate)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
381protected override void PopulateCertificatesFromStore(X509Store store, List<X509Certificate2> certificates, bool requireExportable)
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 (12)
src\Shared\CertificateGeneration\CertificateManager.cs (5)
132using var store = new X509Store(storeName, location); 217protected virtual void PopulateCertificatesFromStore(X509Store store, List<X509Certificate2> certificates, bool requireExportable) 880using var store = new X509Store(StoreName.My, StoreLocation.CurrentUser); 917/// <param name="store">An open <see cref="X509Store"/>.</param> 922internal static bool TryFindCertificateInStore(X509Store store, X509Certificate2 certificate, [NotNullWhen(true)] out X509Certificate2? foundCertificate)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
381protected override void PopulateCertificatesFromStore(X509Store store, List<X509Certificate2> certificates, bool requireExportable)
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);
WebTransportInteractiveSampleApp (1)
Program.cs (1)
165var store = new X509Store("KestrelSampleWebTransportCertificates", StoreLocation.CurrentUser);
WebTransportSampleApp (1)
Program.cs (1)
50var store = new X509Store("KestrelSampleWebTransportCertificates", StoreLocation.CurrentUser);