Home
last modified time | relevance | path

Searched refs:X509FindType (Results 1 – 25 of 129) sorted by relevance

123456

/dports/lang/mono/mono-5.10.1.57/mcs/class/System/Test/System.Security.Cryptography.X509Certificates/
H A DX509Certificate2CollectionTest.cs476 empty.Find (X509FindType.FindByApplicationPolicy, null, true); in Find_FindValue_Null()
483 empty.Find ((X509FindType)Int32.MinValue, new object(), true); in Find_FindType_Bad()
558 collection.Find (X509FindType.FindByExtension, "KeyUsage", false); in Find_FindByExtension_NotOid()
599 collection.Find (X509FindType.FindByIssuerName, DateTime.Now, false); in Find_FindByIssuerName_NotString()
624 collection.Find (X509FindType.FindByKeyUsage, String.Empty, false); in Find_FindByIssuerName_NotX509KeyUsageFlags()
691 collection.Find (X509FindType.FindBySubjectKeyIdentifier, 1, false); in Find_FindBySubjectKeyIdentifier_NotString()
712 collection.Find (X509FindType.FindBySubjectName, 'c', false); in Find_FindBySubjectName_NotString()
729 collection.Find (X509FindType.FindByTemplateName, 0, false); in Find_FindByTemplateName_NotString()
756 collection.Find (X509FindType.FindByThumbprint, 0, false); in Find_FindByThumbprint_NotString()
777 collection.Find (X509FindType.FindByTimeExpired, String.Empty, false); in Find_FindByTimeExpired_NotDateTime()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Security.Cryptography.X509Certificates/tests/
H A DFindTests.cs78 X509FindType findType, in EvaluateSingleMatch()
175 X509FindType.FindByThumbprint, in FindByValidThumbprint()
409 X509FindType.FindByTimeValid, in TestByTimeValid_Before()
429 X509FindType.FindByTimeValid, in TestByTimeValid_After()
608 X509FindType.FindBySerialNumber, in TestBySerialNumber_Decimal()
617 X509FindType.FindBySerialNumber, in TestBySerialNumber_DecimalLeadingZeros()
637 X509FindType.FindBySerialNumber, in TestBySerialNumber_Hex()
646 X509FindType.FindBySerialNumber, in TestBySerialNumber_HexIgnoreCase()
655 X509FindType.FindBySerialNumber, in TestBySerialNumber_HexLeadingZeros()
663 X509FindType.FindBySerialNumber, in TestBySerialNumber_NoMatch()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/System/System.Security.Cryptography.X509Certificates/
H A DX509Certificate2Collection.cs161 case X509FindType.FindByThumbprint: in Find()
162 case X509FindType.FindBySubjectName: in Find()
164 case X509FindType.FindByIssuerName: in Find()
180 case X509FindType.FindByExtension: in Find()
198 case X509FindType.FindByKeyUsage: in Find()
208 case X509FindType.FindByTimeValid: in Find()
210 case X509FindType.FindByTimeExpired: in Find()
233 case X509FindType.FindByThumbprint: in Find()
277 case X509FindType.FindByExtension: in Find()
280 case X509FindType.FindByKeyUsage: in Find()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.ServiceModel/System/ServiceModel/Configuration/
H A DX509ClientCertificateCredentialsElement.cs52 …[ConfigurationProperty(ConfigurationStrings.X509FindType, DefaultValue = X509CertificateInitiatorS…
53 [StandardRuntimeEnumValidator(typeof(X509FindType))]
54 public X509FindType X509FindType property in System.ServiceModel.Configuration.X509ClientCertificateCredentialsElement
56 get { return (X509FindType)base[ConfigurationStrings.X509FindType]; }
57 set { base[ConfigurationStrings.X509FindType] = value; }
74 this.X509FindType = from.X509FindType; in Copy()
86 … || propertyInfo[ConfigurationStrings.X509FindType].ValueOrigin != PropertyValueOrigin.Default in ApplyConfiguration()
89 … creds.SetCertificate(this.StoreLocation, this.StoreName, this.X509FindType, this.FindValue); in ApplyConfiguration()
H A DX509DefaultServiceCertificateElement.cs52 …[ConfigurationProperty(ConfigurationStrings.X509FindType, DefaultValue = X509CertificateRecipientC…
53 [StandardRuntimeEnumValidator(typeof(X509FindType))]
54 public X509FindType X509FindType property in System.ServiceModel.Configuration.X509DefaultServiceCertificateElement
56 get { return (X509FindType)base[ConfigurationStrings.X509FindType]; }
57 set { base[ConfigurationStrings.X509FindType] = value; }
74 this.X509FindType = from.X509FindType; in Copy()
86 … || propertyInfo[ConfigurationStrings.X509FindType].ValueOrigin != PropertyValueOrigin.Default in ApplyConfiguration()
89 …creds.SetDefaultCertificate(this.StoreLocation, this.StoreName, this.X509FindType, this.FindValue); in ApplyConfiguration()
H A DX509PeerCertificateElement.cs51 …[ConfigurationProperty(ConfigurationStrings.X509FindType, DefaultValue = PeerCredential.DefaultFin…
52 [StandardRuntimeEnumValidator(typeof(X509FindType))]
53 public X509FindType X509FindType property in System.ServiceModel.Configuration.X509PeerCertificateElement
55 get { return (X509FindType)base[ConfigurationStrings.X509FindType]; }
56 set { base[ConfigurationStrings.X509FindType] = value; }
73 this.X509FindType = from.X509FindType; in Copy()
85 … || propertyInfo[ConfigurationStrings.X509FindType].ValueOrigin != PropertyValueOrigin.Default in ApplyConfiguration()
88 … cert.SetCertificate(this.StoreLocation, this.StoreName, this.X509FindType, this.FindValue); in ApplyConfiguration()
H A DX509RecipientCertificateServiceElement.cs52 …[ConfigurationProperty(ConfigurationStrings.X509FindType, DefaultValue = X509CertificateRecipientS…
53 [StandardRuntimeEnumValidator(typeof(X509FindType))]
54 public X509FindType X509FindType property in System.ServiceModel.Configuration.X509RecipientCertificateServiceElement
56 get { return (X509FindType)base[ConfigurationStrings.X509FindType]; }
57 set { base[ConfigurationStrings.X509FindType] = value; }
74 this.X509FindType = from.X509FindType; in Copy()
86 … || propertyInfo[ConfigurationStrings.X509FindType].ValueOrigin != PropertyValueOrigin.Default in ApplyConfiguration()
89 … cert.SetCertificate(this.StoreLocation, this.StoreName, this.X509FindType, this.FindValue); in ApplyConfiguration()
H A DX509InitiatorCertificateClientElement.cs52 …[ConfigurationProperty(ConfigurationStrings.X509FindType, DefaultValue = X509CertificateInitiatorC…
53 [StandardRuntimeEnumValidator(typeof(X509FindType))]
54 public X509FindType X509FindType property in System.ServiceModel.Configuration.X509InitiatorCertificateClientElement
56 get { return (X509FindType)base[ConfigurationStrings.X509FindType]; }
57 set { base[ConfigurationStrings.X509FindType] = value; }
74 this.X509FindType = from.X509FindType; in Copy()
86 … || propertyInfo[ConfigurationStrings.X509FindType].ValueOrigin != PropertyValueOrigin.Default in ApplyConfiguration()
89 … cert.SetCertificate(this.StoreLocation, this.StoreName, this.X509FindType, this.FindValue); in ApplyConfiguration()
H A DX509ScopedServiceCertificateElement.cs59 …[ConfigurationProperty(ConfigurationStrings.X509FindType, DefaultValue = X509CertificateRecipientC…
60 [StandardRuntimeEnumValidator(typeof(X509FindType))]
61 public X509FindType X509FindType property in System.ServiceModel.Configuration.X509ScopedServiceCertificateElement
63 get { return (X509FindType)base[ConfigurationStrings.X509FindType]; }
64 set { base[ConfigurationStrings.X509FindType] = value; }
82 this.X509FindType = from.X509FindType; in Copy()
95 … || propertyInfo[ConfigurationStrings.X509FindType].ValueOrigin != PropertyValueOrigin.Default in ApplyConfiguration()
98 …creds.SetScopedCertificate(this.StoreLocation, this.StoreName, this.X509FindType, this.FindValue, … in ApplyConfiguration()
H A DX509CertificateTrustedIssuerElement.cs52 …[ConfigurationProperty(ConfigurationStrings.X509FindType, DefaultValue = X509CertificateRecipientS…
53 [StandardRuntimeEnumValidator(typeof(X509FindType))]
54 public X509FindType X509FindType property in System.ServiceModel.Configuration.X509CertificateTrustedIssuerElement
56 get { return (X509FindType)base[ConfigurationStrings.X509FindType]; }
57 set { base[ConfigurationStrings.X509FindType] = value; }
74 this.X509FindType = from.X509FindType; in Copy()
H A DCertificateReferenceElement.cs38 …[ConfigurationProperty(ConfigurationStrings.X509FindType, DefaultValue = EndpointIdentity.defaultX…
39 [StandardRuntimeEnumValidator(typeof(X509FindType))]
40 public X509FindType X509FindType property in System.ServiceModel.Configuration.CertificateReferenceElement
42 get { return (X509FindType)base[ConfigurationStrings.X509FindType]; }
43 set { base[ConfigurationStrings.X509FindType] = value; }
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Security.Cryptography.X509Certificates/src/Internal/Cryptography/
H A DFindPal.cs41 X509FindType findType, in FindFromCollection()
51 case X509FindType.FindByThumbprint: in FindFromCollection()
57 case X509FindType.FindBySubjectName: in FindFromCollection()
69 case X509FindType.FindByIssuerName: in FindFromCollection()
81 case X509FindType.FindBySerialNumber: in FindFromCollection()
99 case X509FindType.FindByTimeValid: in FindFromCollection()
105 case X509FindType.FindByTimeNotYetValid: in FindFromCollection()
111 case X509FindType.FindByTimeExpired: in FindFromCollection()
117 case X509FindType.FindByTemplateName: in FindFromCollection()
135 case X509FindType.FindByExtension: in FindFromCollection()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.IdentityModel/System/IdentityModel/Selectors/
H A DX509CertificateStore.cs123 case X509FindType.FindBySubjectName: in Find()
132 case X509FindType.FindByThumbprint: in Find()
152 case X509FindType.FindBySubjectDistinguishedName: in Find()
159 case X509FindType.FindByIssuerName: in Find()
168 case X509FindType.FindByIssuerDistinguishedName: in Find()
175 case X509FindType.FindBySerialNumber: in Find()
198 case X509FindType.FindBySubjectKeyIdentifier: in Find()
281 case X509FindType.FindBySubjectDistinguishedName: in TryGetMatchingX509Certificate()
290 case X509FindType.FindByIssuerDistinguishedName: in TryGetMatchingX509Certificate()
299 case X509FindType.FindBySerialNumber: in TryGetMatchingX509Certificate()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.ServiceModel/System.ServiceModel.Security/
H A DX509CertificateRecipientClientCredential.cs89 SetDefaultCertificate (storeLocation, storeName, X509FindType.FindBySubjectName, subjectName); in SetDefaultCertificate()
93 StoreName storeName, X509FindType findType, Object findValue) in SetDefaultCertificate()
106 …SetScopedCertificate (storeLocation, storeName, X509FindType.FindBySubjectName, subjectName, targe… in SetScopedCertificate()
110 StoreName storeName, X509FindType findType, in SetScopedCertificate()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.ServiceModel/System.ServiceModel.Configuration/
H A DX509PeerCertificateElement.cs84 …typeof (X509FindType), "FindBySubjectDistinguishedName", null/* FIXME: get converter for X509FindT… in X509PeerCertificateElement()
134 public X509FindType X509FindType { property in System.ServiceModel.Configuration.X509PeerCertificateElement
135 get { return (X509FindType) base [x509_find_type]; }
H A DX509RecipientCertificateServiceElement.cs84 typeof (X509FindType), "FindBySubjectDistinguishedName", null, null, in X509RecipientCertificateServiceElement()
134 public X509FindType X509FindType { property in System.ServiceModel.Configuration.X509RecipientCertificateServiceElement
135 get { return (X509FindType) base [x509_find_type]; }
H A DX509ClientCertificateCredentialsElement.cs84 …typeof (X509FindType), "FindBySubjectDistinguishedName", null/* FIXME: get converter for X509FindT… in X509ClientCertificateCredentialsElement()
134 public X509FindType X509FindType { property in System.ServiceModel.Configuration.X509ClientCertificateCredentialsElement
135 get { return (X509FindType) base [x509_find_type]; }
H A DX509InitiatorCertificateClientElement.cs84 …typeof (X509FindType), "FindBySubjectDistinguishedName", null/* FIXME: get converter for X509FindT… in X509InitiatorCertificateClientElement()
134 public X509FindType X509FindType { property in System.ServiceModel.Configuration.X509InitiatorCertificateClientElement
135 get { return (X509FindType) base [x509_find_type]; }
H A DX509DefaultServiceCertificateElement.cs84 …typeof (X509FindType), "FindBySubjectDistinguishedName", null/* FIXME: get converter for X509FindT… in X509DefaultServiceCertificateElement()
134 public X509FindType X509FindType { property in System.ServiceModel.Configuration.X509DefaultServiceCertificateElement
135 get { return (X509FindType) base [x509_find_type]; }
H A DCertificateReferenceElement.cs89 …typeof (X509FindType), "FindBySubjectDistinguishedName", null/* FIXME: get converter for X509FindT… in CertificateReferenceElement()
148 public X509FindType X509FindType { property in System.ServiceModel.Configuration.CertificateReferenceElement
149 get { return (X509FindType) base [x509_find_type]; }
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.ServiceModel/Test/System.ServiceModel.Configuration/
H A DServiceBehaviorElementTest.cs276 …Assert.AreEqual (X509FindType.FindByIssuerName, element.ClientCertificate.Certificate.X509FindType in ServiceCredentialsElement()
288 …Assert.AreEqual (X509FindType.FindByIssuerName, element.ServiceCertificate.X509FindType, "ServiceC… in ServiceCredentialsElement()
301 …Assert.AreEqual (X509FindType.FindByIssuerName, element.Peer.Certificate.X509FindType, "Peer.Certi… in ServiceCredentialsElement()
323 …Assert.AreEqual (X509FindType.FindByIssuerName, element.IssuedTokenAuthentication.KnownCertificate… in ServiceCredentialsElement()
340 …Assert.AreEqual (X509FindType.FindBySubjectDistinguishedName, element.ClientCertificate.Certificat… in ServiceCredentialsElement_defaults()
352 …Assert.AreEqual (X509FindType.FindBySubjectDistinguishedName, element.ServiceCertificate.X509FindT… in ServiceCredentialsElement_defaults()
365 …Assert.AreEqual (X509FindType.FindBySubjectDistinguishedName, element.Peer.Certificate.X509FindTyp… in ServiceCredentialsElement_defaults()
H A DEndpointBehaviorElementTest.cs205 …Assert.AreEqual (X509FindType.FindByExtension, element.ClientCertificate.X509FindType, "ClientCert… in ClientCredentialsElement()
210 …Assert.AreEqual (X509FindType.FindByExtension, element.ServiceCertificate.DefaultCertificate.X509F… in ClientCredentialsElement()
240 …Assert.AreEqual (X509FindType.FindBySubjectDistinguishedName, element.ClientCertificate.X509FindTy… in ClientCredentialsElement_defaults()
245 …Assert.AreEqual (X509FindType.FindBySubjectDistinguishedName, element.ServiceCertificate.DefaultCe… in ClientCredentialsElement_defaults()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.ServiceModel/System/ServiceModel/Security/
H A DX509CertificateRecipientClientCredential.cs18 internal const X509FindType DefaultFindType = X509FindType.FindBySubjectDistinguishedName;
100 …tDefaultCertificate(StoreLocation storeLocation, StoreName storeName, X509FindType findType, objec… in SetDefaultCertificate()
119 …etScopedCertificate(StoreLocation storeLocation, StoreName storeName, X509FindType findType, objec… in SetScopedCertificate()
H A DX509CertificateInitiatorClientCredential.cs14 internal const X509FindType DefaultFindType = X509FindType.FindBySubjectDistinguishedName;
52 …public void SetCertificate(StoreLocation storeLocation, StoreName storeName, X509FindType findType… in SetCertificate()
H A DX509CertificateRecipientServiceCredential.cs15 internal const X509FindType DefaultFindType = X509FindType.FindBySubjectDistinguishedName;
55 …public void SetCertificate(StoreLocation storeLocation, StoreName storeName, X509FindType findType… in SetCertificate()

123456