124 references to StoreName
System (12)
net\System\Net\_SecureChannel.cs (1)
392store = new X509Store(StoreName.My, storeLocation);
net\System\Net\UnsafeNativeMethods.cs (1)
1700X509Store store = new X509Store(StoreName.My, StoreLocation.CurrentUser);
security\system\security\cryptography\x509\x509store.cs (10)
56public X509Store (StoreName storeName) : this(storeName, StoreLocation.CurrentUser) {} 63public X509Store (StoreName storeName, StoreLocation storeLocation) { 68case StoreName.AddressBook: 71case StoreName.AuthRoot: 74case StoreName.CertificateAuthority: 77case StoreName.Disallowed: 80case StoreName.My: 83case StoreName.Root: 86case StoreName.TrustedPeople: 89case StoreName.TrustedPublisher:
System.Data (4)
fx\src\data\System\Data\SqlClient\SqlColumnEncryptionCertificateStoreProvider.cs (4)
398StoreName storeName = StoreName.My; 431storeName = StoreName.My; 459private X509Certificate2 GetCertificate(StoreLocation storeLocation, StoreName storeName, string masterKeyPath, string thumbprint, bool isSystemOp)
System.IdentityModel (21)
System\IdentityModel\Selectors\X509CertificateStore.cs (10)
29public X509CertificateStore(StoreName storeName, StoreLocation storeLocation) 33case StoreName.AddressBook: 36case StoreName.AuthRoot: 39case StoreName.CertificateAuthority: 42case StoreName.Disallowed: 45case StoreName.My: 48case StoreName.Root: 51case StoreName.TrustedPeople: 54case StoreName.TrustedPublisher: 59typeof(StoreName)));
System\IdentityModel\Selectors\X509CertificateValidator.cs (3)
122static bool StoreContainsCertificate(StoreName storeName, X509Certificate2 certificate) 170if (!StoreContainsCertificate(StoreName.TrustedPeople, certificate)) 177if (StoreContainsCertificate(StoreName.Disallowed, certificate))
System\IdentityModel\Selectors\X509SecurityTokenProvider.cs (1)
24public X509SecurityTokenProvider(StoreLocation storeLocation, StoreName storeName, X509FindType findType, object findValue)
System\IdentityModel\Tokens\IssuerTokenResolver.cs (2)
21public static readonly StoreName DefaultStoreName = StoreName.TrustedPeople;
System\IdentityModel\Tokens\X509CertificateStoreTokenResolver.cs (3)
27: this(System.Security.Cryptography.X509Certificates.StoreName.My, StoreLocation.LocalMachine) 36public X509CertificateStoreTokenResolver(StoreName storeName, StoreLocation storeLocation) 37: this(Enum.GetName(typeof(System.Security.Cryptography.X509Certificates.StoreName), storeName), storeLocation)
System\IdentityModel\X509Util.cs (2)
61internal static X509Certificate2 ResolveCertificate(StoreName storeName, StoreLocation storeLocation, X509FindType findType, object findValue) 76internal static bool TryResolveCertificate(StoreName storeName, StoreLocation storeLocation, X509FindType findType, object findValue, out X509Certificate2 certificate)
System.ServiceModel (83)
System\ServiceModel\ComIntegration\ChannelCredentials.cs (6)
133StoreName name = (StoreName)Enum.Parse(typeof(StoreName), storeName); 183StoreName name = (StoreName)Enum.Parse(typeof(StoreName), storeName);
System\ServiceModel\Configuration\CertificateReferenceElement.cs (3)
23[StandardRuntimeEnumValidator(typeof(StoreName))] 24public StoreName StoreName 26get { return (StoreName)base[ConfigurationStrings.StoreName]; }
System\ServiceModel\Configuration\Properties.cs (24)
619properties.Add(new ConfigurationProperty("storeName", typeof(System.Security.Cryptography.X509Certificates.StoreName), System.Security.Cryptography.X509Certificates.StoreName.My, null, new System.ServiceModel.Configuration.StandardRuntimeEnumValidator(typeof(System.Security.Cryptography.X509Certificates.StoreName)), System.Configuration.ConfigurationPropertyOptions.None)); 3973properties.Add(new ConfigurationProperty("storeName", typeof(System.Security.Cryptography.X509Certificates.StoreName), System.Security.Cryptography.X509Certificates.StoreName.My, null, new System.ServiceModel.Configuration.StandardRuntimeEnumValidator(typeof(System.Security.Cryptography.X509Certificates.StoreName)), System.Configuration.ConfigurationPropertyOptions.IsKey)); 4029properties.Add(new ConfigurationProperty("storeName", typeof(System.Security.Cryptography.X509Certificates.StoreName), System.Security.Cryptography.X509Certificates.StoreName.My, null, new System.ServiceModel.Configuration.StandardRuntimeEnumValidator(typeof(System.Security.Cryptography.X509Certificates.StoreName)), System.Configuration.ConfigurationPropertyOptions.None)); 4056properties.Add(new ConfigurationProperty("storeName", typeof(System.Security.Cryptography.X509Certificates.StoreName), System.Security.Cryptography.X509Certificates.StoreName.My, null, new System.ServiceModel.Configuration.StandardRuntimeEnumValidator(typeof(System.Security.Cryptography.X509Certificates.StoreName)), System.Configuration.ConfigurationPropertyOptions.None)); 4083properties.Add(new ConfigurationProperty("storeName", typeof(System.Security.Cryptography.X509Certificates.StoreName), System.Security.Cryptography.X509Certificates.StoreName.My, null, new System.ServiceModel.Configuration.StandardRuntimeEnumValidator(typeof(System.Security.Cryptography.X509Certificates.StoreName)), System.Configuration.ConfigurationPropertyOptions.None)); 4162properties.Add(new ConfigurationProperty("storeName", typeof(System.Security.Cryptography.X509Certificates.StoreName), System.Security.Cryptography.X509Certificates.StoreName.My, null, new System.ServiceModel.Configuration.StandardRuntimeEnumValidator(typeof(System.Security.Cryptography.X509Certificates.StoreName)), System.Configuration.ConfigurationPropertyOptions.None)); 4190properties.Add(new ConfigurationProperty("storeName", typeof(System.Security.Cryptography.X509Certificates.StoreName), System.Security.Cryptography.X509Certificates.StoreName.My, null, new System.ServiceModel.Configuration.StandardRuntimeEnumValidator(typeof(System.Security.Cryptography.X509Certificates.StoreName)), System.Configuration.ConfigurationPropertyOptions.None)); 4450properties.Add(new ConfigurationProperty("storeName", typeof(System.Security.Cryptography.X509Certificates.StoreName), System.Security.Cryptography.X509Certificates.StoreName.My, null, new System.ServiceModel.Configuration.StandardRuntimeEnumValidator(typeof(System.Security.Cryptography.X509Certificates.StoreName)), System.Configuration.ConfigurationPropertyOptions.None));
System\ServiceModel\Configuration\X509CertificateTrustedIssuerElement.cs (3)
45[StandardRuntimeEnumValidator(typeof(StoreName))] 46public StoreName StoreName 48get { return (StoreName)base[ConfigurationStrings.StoreName]; }
System\ServiceModel\Configuration\X509ClientCertificateCredentialsElement.cs (3)
45[StandardRuntimeEnumValidator(typeof(StoreName))] 46public StoreName StoreName 48get { return (StoreName)base[ConfigurationStrings.StoreName]; }
System\ServiceModel\Configuration\X509DefaultServiceCertificateElement.cs (3)
45[StandardRuntimeEnumValidator(typeof(StoreName))] 46public StoreName StoreName 48get { return (StoreName)base[ConfigurationStrings.StoreName]; }
System\ServiceModel\Configuration\X509InitiatorCertificateClientElement.cs (3)
45[StandardRuntimeEnumValidator(typeof(StoreName))] 46public StoreName StoreName 48get { return (StoreName)base[ConfigurationStrings.StoreName]; }
System\ServiceModel\Configuration\X509PeerCertificateElement.cs (3)
44[StandardRuntimeEnumValidator(typeof(StoreName))] 45public StoreName StoreName 47get { return (StoreName)base[ConfigurationStrings.StoreName]; }
System\ServiceModel\Configuration\X509RecipientCertificateServiceElement.cs (3)
45[StandardRuntimeEnumValidator(typeof(StoreName))] 46public StoreName StoreName 48get { return (StoreName)base[ConfigurationStrings.StoreName]; }
System\ServiceModel\Configuration\X509ScopedServiceCertificateElement.cs (3)
52[StandardRuntimeEnumValidator(typeof(StoreName))] 53public StoreName StoreName 55get { return (StoreName)base[ConfigurationStrings.StoreName]; }
System\ServiceModel\EndpointIdentity.cs (2)
28internal const StoreName defaultStoreName = StoreName.My;
System\ServiceModel\Security\PeerCredential.cs (4)
14internal const StoreName DefaultStoreName = StoreName.My; 90public void SetCertificate(string subjectName, StoreLocation storeLocation, StoreName storeName) 99public void SetCertificate(StoreLocation storeLocation, StoreName storeName, X509FindType findType, object findValue)
System\ServiceModel\Security\SecurityUtils.cs (4)
2139internal static X509Certificate2 GetCertificateFromStore(StoreName storeName, StoreLocation storeLocation, 2149internal static bool TryGetCertificateFromStore(StoreName storeName, StoreLocation storeLocation, 2156static X509Certificate2 GetCertificateFromStoreCore(StoreName storeName, StoreLocation storeLocation, 2190static Exception CreateCertificateLoadException(StoreName storeName, StoreLocation storeLocation,
System\ServiceModel\Security\Tokens\ServiceX509SecurityTokenProvider.cs (1)
17public ServiceX509SecurityTokenProvider(StoreLocation storeLocation, StoreName storeName, X509FindType findType, object findValue)
System\ServiceModel\Security\X509CertificateInitiatorClientCredential.cs (4)
13internal const StoreName DefaultStoreName = StoreName.My; 43public void SetCertificate(string subjectName, StoreLocation storeLocation, StoreName storeName) 52public void SetCertificate(StoreLocation storeLocation, StoreName storeName, X509FindType findType, object findValue)
System\ServiceModel\Security\X509CertificateInitiatorServiceCredential.cs (4)
13internal const StoreName DefaultStoreName = StoreName.My; 53public void SetCertificate(string subjectName, StoreLocation storeLocation, StoreName storeName) 62public void SetCertificate(StoreLocation storeLocation, StoreName storeName, X509FindType findType, object findValue)
System\ServiceModel\Security\X509CertificateRecipientClientCredential.cs (6)
17internal const StoreName DefaultStoreName = StoreName.My; 91public void SetDefaultCertificate(string subjectName, StoreLocation storeLocation, StoreName storeName) 100public void SetDefaultCertificate(StoreLocation storeLocation, StoreName storeName, X509FindType findType, object findValue) 110public void SetScopedCertificate(string subjectName, StoreLocation storeLocation, StoreName storeName, Uri targetService) 119public void SetScopedCertificate(StoreLocation storeLocation, StoreName storeName, X509FindType findType, object findValue, Uri targetService)
System\ServiceModel\Security\X509CertificateRecipientServiceCredential.cs (4)
14internal const StoreName DefaultStoreName = StoreName.My; 46public void SetCertificate(string subjectName, StoreLocation storeLocation, StoreName storeName) 55public void SetCertificate(StoreLocation storeLocation, StoreName storeName, X509FindType findType, object findValue)
System.Windows.Forms (2)
parent\parent\parent\public\Internal\NDP\Inc\mansign2.cs (2)
360X509Store store = new X509Store(StoreName.Disallowed, StoreLocation.CurrentUser); 455store = new X509Store(StoreName.TrustedPublisher, StoreLocation.CurrentUser);
WsatConfig (2)
Configuration\CertificateManager.cs (2)
158store = new X509Store(StoreName.My, StoreLocation.LocalMachine); 262store = new X509Store(StoreName.My, StoreLocation.LocalMachine);