Home
last modified time | relevance | path

Searched refs:StoreLocation (Results 1 – 25 of 590) sorted by relevance

12345678910>>...24

/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Security.Cryptography.X509Certificates/tests/
H A DX509StoreTests.cs23 using (X509Store store = new X509Store(StoreLocation.CurrentUser)) in Constructor_DefaultStoreName()
32 using (X509Store store = new X509Store(StoreLocation.CurrentUser)) in Constructor_IsNotOpen()
43 Assert.Equal(StoreLocation.CurrentUser, store.Location); in Constructor_DefaultStoreLocation()
48 Assert.Equal(StoreLocation.CurrentUser, store.Location); in Constructor_DefaultStoreLocation()
141 using (store = new X509Store(StoreName.My, StoreLocation.CurrentUser)) in TestDispose()
417 [InlineData(StoreLocation.CurrentUser, true)]
418 [InlineData(StoreLocation.LocalMachine, true)]
419 [InlineData(StoreLocation.CurrentUser, false)]
420 [InlineData(StoreLocation.LocalMachine, false)]
453 : new X509Store("disallowed", StoreLocation.LocalMachine); in UnixCannotOpenMachineDisallowedStore()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.ServiceModel/System/ServiceModel/Configuration/
H A DX509ClientCertificateCredentialsElement.cs36 …[ConfigurationProperty(ConfigurationStrings.StoreLocation, DefaultValue = X509CertificateInitiator…
37 [StandardRuntimeEnumValidator(typeof(StoreLocation))]
38 public StoreLocation StoreLocation property in System.ServiceModel.Configuration.X509ClientCertificateCredentialsElement
40 get { return (StoreLocation)base[ConfigurationStrings.StoreLocation]; }
41 set { base[ConfigurationStrings.StoreLocation] = value; }
72 this.StoreLocation = from.StoreLocation; in Copy()
84 … if (propertyInfo[ConfigurationStrings.StoreLocation].ValueOrigin != PropertyValueOrigin.Default in ApplyConfiguration()
89 … creds.SetCertificate(this.StoreLocation, this.StoreName, this.X509FindType, this.FindValue); in ApplyConfiguration()
H A DX509DefaultServiceCertificateElement.cs36 …[ConfigurationProperty(ConfigurationStrings.StoreLocation, DefaultValue = X509CertificateRecipient…
37 [StandardRuntimeEnumValidator(typeof(StoreLocation))]
38 public StoreLocation StoreLocation property in System.ServiceModel.Configuration.X509DefaultServiceCertificateElement
40 get { return (StoreLocation)base[ConfigurationStrings.StoreLocation]; }
41 set { base[ConfigurationStrings.StoreLocation] = value; }
72 this.StoreLocation = from.StoreLocation; in Copy()
84 … if (propertyInfo[ConfigurationStrings.StoreLocation].ValueOrigin != PropertyValueOrigin.Default in ApplyConfiguration()
89 …creds.SetDefaultCertificate(this.StoreLocation, this.StoreName, this.X509FindType, this.FindValue); in ApplyConfiguration()
H A DX509PeerCertificateElement.cs35 …[ConfigurationProperty(ConfigurationStrings.StoreLocation, DefaultValue = PeerCredential.DefaultSt…
36 [StandardRuntimeEnumValidator(typeof(StoreLocation))]
37 public StoreLocation StoreLocation property in System.ServiceModel.Configuration.X509PeerCertificateElement
39 get { return (StoreLocation)base[ConfigurationStrings.StoreLocation]; }
40 set { base[ConfigurationStrings.StoreLocation] = value; }
71 this.StoreLocation = from.StoreLocation; in Copy()
83 … if (propertyInfo[ConfigurationStrings.StoreLocation].ValueOrigin != PropertyValueOrigin.Default in ApplyConfiguration()
88 … cert.SetCertificate(this.StoreLocation, this.StoreName, this.X509FindType, this.FindValue); in ApplyConfiguration()
H A DX509RecipientCertificateServiceElement.cs36 …[ConfigurationProperty(ConfigurationStrings.StoreLocation, DefaultValue = X509CertificateRecipient…
37 [StandardRuntimeEnumValidator(typeof(StoreLocation))]
38 public StoreLocation StoreLocation property in System.ServiceModel.Configuration.X509RecipientCertificateServiceElement
40 get { return (StoreLocation)base[ConfigurationStrings.StoreLocation]; }
41 set { base[ConfigurationStrings.StoreLocation] = value; }
72 this.StoreLocation = from.StoreLocation; in Copy()
84 … if (propertyInfo[ConfigurationStrings.StoreLocation].ValueOrigin != PropertyValueOrigin.Default in ApplyConfiguration()
89 … cert.SetCertificate(this.StoreLocation, this.StoreName, this.X509FindType, this.FindValue); in ApplyConfiguration()
H A DX509InitiatorCertificateClientElement.cs36 …[ConfigurationProperty(ConfigurationStrings.StoreLocation, DefaultValue = X509CertificateInitiator…
37 [StandardRuntimeEnumValidator(typeof(StoreLocation))]
38 public StoreLocation StoreLocation property in System.ServiceModel.Configuration.X509InitiatorCertificateClientElement
40 get { return (StoreLocation)base[ConfigurationStrings.StoreLocation]; }
41 set { base[ConfigurationStrings.StoreLocation] = value; }
72 this.StoreLocation = from.StoreLocation; in Copy()
84 … if (propertyInfo[ConfigurationStrings.StoreLocation].ValueOrigin != PropertyValueOrigin.Default in ApplyConfiguration()
89 … cert.SetCertificate(this.StoreLocation, this.StoreName, this.X509FindType, this.FindValue); in ApplyConfiguration()
H A DX509ScopedServiceCertificateElement.cs43 …[ConfigurationProperty(ConfigurationStrings.StoreLocation, DefaultValue = X509CertificateRecipient…
44 [StandardRuntimeEnumValidator(typeof(StoreLocation))]
45 public StoreLocation StoreLocation property in System.ServiceModel.Configuration.X509ScopedServiceCertificateElement
47 get { return (StoreLocation)base[ConfigurationStrings.StoreLocation]; }
48 set { base[ConfigurationStrings.StoreLocation] = value; }
80 this.StoreLocation = from.StoreLocation; in Copy()
93 … || propertyInfo[ConfigurationStrings.StoreLocation].ValueOrigin != PropertyValueOrigin.Default in ApplyConfiguration()
98 …creds.SetScopedCertificate(this.StoreLocation, this.StoreName, this.X509FindType, this.FindValue, … in ApplyConfiguration()
H A DX509CertificateTrustedIssuerElement.cs36 …[ConfigurationProperty(ConfigurationStrings.StoreLocation, DefaultValue = X509CertificateRecipient…
37 [StandardRuntimeEnumValidator(typeof(StoreLocation))]
38 public StoreLocation StoreLocation property in System.ServiceModel.Configuration.X509CertificateTrustedIssuerElement
40 get { return (StoreLocation)base[ConfigurationStrings.StoreLocation]; }
41 set { base[ConfigurationStrings.StoreLocation] = value; }
72 this.StoreLocation = from.StoreLocation; in Copy()
H A DCertificateReferenceElement.cs30 …[ConfigurationProperty(ConfigurationStrings.StoreLocation, DefaultValue = EndpointIdentity.default…
31 [StandardRuntimeEnumValidator(typeof(StoreLocation))]
32 public StoreLocation StoreLocation property in System.ServiceModel.Configuration.CertificateReferenceElement
34 get { return (StoreLocation)base[ConfigurationStrings.StoreLocation]; }
35 set { base[ConfigurationStrings.StoreLocation] = value; }
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Security.Cryptography.X509Certificates/src/System/Security/Cryptography/X509Certificates/
H A DX509Store.cs20 : this(StoreName.My, StoreLocation.CurrentUser) in X509Store()
25 : this(storeName, StoreLocation.CurrentUser) in X509Store()
30 : this(storeName, StoreLocation.CurrentUser) in X509Store()
34 public X509Store(StoreLocation storeLocation) in X509Store()
39 public X509Store(StoreName storeName, StoreLocation storeLocation) in X509Store()
41 … if (storeLocation != StoreLocation.CurrentUser && storeLocation != StoreLocation.LocalMachine) in X509Store()
77 public X509Store(StoreName storeName, StoreLocation storeLocation, OpenFlags flags) in X509Store()
83 public X509Store(string storeName, StoreLocation storeLocation) in X509Store()
85 … if (storeLocation != StoreLocation.CurrentUser && storeLocation != StoreLocation.LocalMachine) in X509Store()
92 …Store(string storeName, System.Security.Cryptography.X509Certificates.StoreLocation storeLocation,… in X509Store()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/System.Security.Cryptography.X509Certificates/
H A DX509Store.cs46 private StoreLocation _location;
55 : this ("MY", StoreLocation.CurrentUser) in X509Store()
60 : this (storeName, StoreLocation.CurrentUser) in X509Store()
65 : this (storeName, StoreLocation.CurrentUser) in X509Store()
69 public X509Store (StoreLocation storeLocation) in X509Store()
74 public X509Store (StoreName storeName, StoreLocation storeLocation) in X509Store()
78 if ((storeLocation < StoreLocation.CurrentUser) || (storeLocation > StoreLocation.LocalMachine)) in X509Store()
101 public X509Store (string storeName, StoreLocation storeLocation) in X509Store()
103 if ((storeLocation < StoreLocation.CurrentUser) || (storeLocation > StoreLocation.LocalMachine)) in X509Store()
123 public StoreLocation Location {
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System/security/system/security/cryptography/x509/
H A Dx509store.cs18 public enum StoreLocation { enum
46 private StoreLocation m_location;
52 public X509Store () : this("MY", StoreLocation.CurrentUser) {} in X509Store()
54 public X509Store (string storeName) : this (storeName, StoreLocation.CurrentUser) {} in X509Store()
58 public X509Store (StoreLocation storeLocation) : this ("MY", storeLocation) {} in X509Store()
63 public X509Store (StoreName storeName, StoreLocation storeLocation) { in X509Store()
64 … if (storeLocation != StoreLocation.CurrentUser && storeLocation != StoreLocation.LocalMachine) in X509Store()
102 public X509Store (string storeName, StoreLocation storeLocation) { in X509Store()
103 … if (storeLocation != StoreLocation.CurrentUser && storeLocation != StoreLocation.LocalMachine) in X509Store()
132 public StoreLocation Location {
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/Test/System.Security.Cryptography.X509Certificates/
H A DX509StoreTest.cs66 Assert.AreEqual (StoreLocation.CurrentUser, xs.Location, "Location"); in CheckDefaults()
91 new X509Store ((StoreLocation) Int32.MinValue); in ConstructorStoreLocation_Invalid()
97 X509Store xs = new X509Store (StoreLocation.CurrentUser); in ConstructorStoreLocationCurrentUser()
104 X509Store xs = new X509Store (StoreLocation.LocalMachine); in ConstructorStoreLocationLocalMachine()
106 Assert.AreEqual (StoreLocation.LocalMachine, xs.Location, "Location"); in ConstructorStoreLocationLocalMachine()
115 Assert.AreEqual (StoreLocation.CurrentUser, xs.Location, "Location"); in ConstructorStoreString_Null()
124 Assert.AreEqual (StoreLocation.CurrentUser, xs.Location, "Location"); in ConstructorStoreString_Empty()
134 Assert.AreEqual (StoreLocation.CurrentUser, xs.Location, "Location"); in ConstructorStoreStringAddressBook()
144 Assert.AreEqual (StoreLocation.CurrentUser, xs.Location, "Location"); in ConstructorStoreStringAuthRoot()
154 Assert.AreEqual (StoreLocation.CurrentUser, xs.Location, "Location"); in ConstructorStoreStringCertificateAuthority()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.ServiceModel/Test/System.ServiceModel.Configuration/
H A DServiceBehaviorElementTest.cs274 …Assert.AreEqual (StoreLocation.CurrentUser, element.ClientCertificate.Certificate.StoreLocation, "… in ServiceCredentialsElement()
286 …Assert.AreEqual (StoreLocation.CurrentUser, element.ServiceCertificate.StoreLocation, "ServiceCert… in ServiceCredentialsElement()
299 …Assert.AreEqual (StoreLocation.LocalMachine, element.Peer.Certificate.StoreLocation, "Peer.Certifi… in ServiceCredentialsElement()
306 …Assert.AreEqual (StoreLocation.LocalMachine, element.Peer.PeerAuthentication.TrustedStoreLocation,… in ServiceCredentialsElement()
316 …Assert.AreEqual (StoreLocation.CurrentUser, element.IssuedTokenAuthentication.TrustedStoreLocation… in ServiceCredentialsElement()
321 …Assert.AreEqual (StoreLocation.CurrentUser, element.IssuedTokenAuthentication.KnownCertificates [0… in ServiceCredentialsElement()
338 …Assert.AreEqual (StoreLocation.LocalMachine, element.ClientCertificate.Certificate.StoreLocation, … in ServiceCredentialsElement_defaults()
350 …Assert.AreEqual (StoreLocation.LocalMachine, element.ServiceCertificate.StoreLocation, "ServiceCer… in ServiceCredentialsElement_defaults()
363 …Assert.AreEqual (StoreLocation.CurrentUser, element.Peer.Certificate.StoreLocation, "Peer.Certific… in ServiceCredentialsElement_defaults()
370 …Assert.AreEqual (StoreLocation.CurrentUser, element.Peer.PeerAuthentication.TrustedStoreLocation, … in ServiceCredentialsElement_defaults()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.ServiceModel/System/ServiceModel/Security/
H A DX509ClientCertificateAuthentication.cs15 internal const StoreLocation DefaultTrustedStoreLocation = StoreLocation.LocalMachine;
21 StoreLocation trustedStoreLocation = DefaultTrustedStoreLocation;
48 … bool useMachineContext = DefaultTrustedStoreLocation == StoreLocation.LocalMachine;
84 public StoreLocation TrustedStoreLocation
156 bool useMachineContext = this.trustedStoreLocation == StoreLocation.LocalMachine; in GetCertificateValidator()
H A DX509ServiceCertificateAuthentication.cs16 internal const StoreLocation DefaultTrustedStoreLocation = StoreLocation.CurrentUser;
21 StoreLocation trustedStoreLocation = DefaultTrustedStoreLocation;
44 … bool useMachineContext = DefaultTrustedStoreLocation == StoreLocation.LocalMachine;
80 public StoreLocation TrustedStoreLocation
123 bool useMachineContext = this.trustedStoreLocation == StoreLocation.LocalMachine; in TryGetCertificateValidator()
H A DX509PeerCertificateAuthentication.cs16 internal const StoreLocation DefaultTrustedStoreLocation = StoreLocation.CurrentUser;
21 StoreLocation trustedStoreLocation = DefaultTrustedStoreLocation;
44 … bool useMachineContext = DefaultTrustedStoreLocation == StoreLocation.LocalMachine;
80 public StoreLocation TrustedStoreLocation
123 bool useMachineContext = this.trustedStoreLocation == StoreLocation.LocalMachine; in TryGetCertificateValidator()
H A DX509CertificateRecipientClientCredential.cs16 internal const StoreLocation DefaultStoreLocation = StoreLocation.CurrentUser;
91 …public void SetDefaultCertificate(string subjectName, StoreLocation storeLocation, StoreName store… in SetDefaultCertificate()
100 …public void SetDefaultCertificate(StoreLocation storeLocation, StoreName storeName, X509FindType f… in SetDefaultCertificate()
110 …public void SetScopedCertificate(string subjectName, StoreLocation storeLocation, StoreName storeN… in SetScopedCertificate()
119 …public void SetScopedCertificate(StoreLocation storeLocation, StoreName storeName, X509FindType fi… in SetScopedCertificate()
H A DX509CertificateInitiatorClientCredential.cs12 internal const StoreLocation DefaultStoreLocation = StoreLocation.CurrentUser;
43 … public void SetCertificate(string subjectName, StoreLocation storeLocation, StoreName storeName) in SetCertificate()
52 …public void SetCertificate(StoreLocation storeLocation, StoreName storeName, X509FindType findType… in SetCertificate()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.IdentityModel/System/IdentityModel/Configuration/
H A DX509CertificateValidationElement.cs20 const StoreLocation DefaultStoreLocation = StoreLocation.LocalMachine;
48 [StandardRuntimeEnumValidator( typeof( StoreLocation ) )]
49 public StoreLocation TrustedStoreLocation
51 get { return ( StoreLocation ) this[ConfigurationStrings.X509TrustedStoreLocation]; }
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/Common/src/Interop/OSX/System.Security.Cryptography.Native.Apple/
H A DInterop.Trust.cs37 internal static SafeCFArrayHandle StoreEnumerateDisallowed(StoreLocation location) in StoreEnumerateDisallowed()
45 internal static SafeCFArrayHandle StoreEnumerateRoot(StoreLocation location) in StoreEnumerateRoot()
54 StoreLocation location, in EnumerateStore()
69 if (location == StoreLocation.CurrentUser) in EnumerateStore()
73 else if (location == StoreLocation.LocalMachine) in EnumerateStore()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.IdentityModel/System/IdentityModel/Tokens/
H A DX509CertificateStoreTokenResolver.cs21 private StoreLocation storeLocation;
27 … : this(System.Security.Cryptography.X509Certificates.StoreName.My, StoreLocation.LocalMachine) in X509CertificateStoreTokenResolver()
36 public X509CertificateStoreTokenResolver(StoreName storeName, StoreLocation storeLocation) in X509CertificateStoreTokenResolver()
46 public X509CertificateStoreTokenResolver(string storeName, StoreLocation storeLocation) in X509CertificateStoreTokenResolver()
68 public StoreLocation StoreLocation property in System.IdentityModel.Tokens.X509CertificateStoreTokenResolver
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.ServiceModel/System.ServiceModel.Security/
H A DX509CertificateRecipientClientCredential.cs56 StoreLocation store_loc;
87 StoreLocation storeLocation, StoreName storeName) in SetDefaultCertificate()
92 public void SetDefaultCertificate (StoreLocation storeLocation, in SetDefaultCertificate()
103 StoreLocation storeLocation, StoreName storeName, in SetScopedCertificate()
109 public void SetScopedCertificate (StoreLocation storeLocation, in SetScopedCertificate()
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.Http/src/System/Net/Http/Headers/
H A DHttpHeaders.cs41 private enum StoreLocation enum in System.Net.Http.Headers.HttpHeaders
140 AddValue(info, value, StoreLocation.Raw); in TryAddWithoutValidation()
162 AddValue(info, value ?? string.Empty, StoreLocation.Raw); in TryAddWithoutValidation()
405 AddValue(info, value, StoreLocation.Parsed); in AddParsedValue()
421 AddValue(info, value, StoreLocation.Parsed); in SetParsedValue()
846 AddValue(info, rawValue, StoreLocation.Parsed); in ParseSingleRawHeaderValue()
945 AddValue(info, item, StoreLocation.Parsed); in TryParseAndAddRawHeaderValue()
969 case StoreLocation.Raw: in AddValue()
975 case StoreLocation.Invalid: in AddValue()
981 case StoreLocation.Parsed: in AddValue()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Net.Security/src/System/Net/
H A DCertificateValidationPal.cs18 static partial void CheckSupportsStore(StoreLocation storeLocation, ref bool hasSupport); in CheckSupportsStore()
27StoreLocation storeLocation = isMachineStore ? StoreLocation.LocalMachine : StoreLocation.CurrentU… in EnsureStoreOpened()

12345678910>>...24