/dports/lang/mono/mono-5.10.1.57/mcs/class/System/Test/System.Security.Cryptography.X509Certificates/ |
H A D | X509Certificate2CollectionTest.cs | 476 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 D | FindTests.cs | 78 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 D | X509Certificate2Collection.cs | 161 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 D | X509ClientCertificateCredentialsElement.cs | 52 …[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 D | X509DefaultServiceCertificateElement.cs | 52 …[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 D | X509PeerCertificateElement.cs | 51 …[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 D | X509RecipientCertificateServiceElement.cs | 52 …[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 D | X509InitiatorCertificateClientElement.cs | 52 …[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 D | X509ScopedServiceCertificateElement.cs | 59 …[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 D | X509CertificateTrustedIssuerElement.cs | 52 …[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 D | CertificateReferenceElement.cs | 38 …[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 D | FindPal.cs | 41 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 D | X509CertificateStore.cs | 123 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 D | X509CertificateRecipientClientCredential.cs | 89 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 D | X509PeerCertificateElement.cs | 84 …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 D | X509RecipientCertificateServiceElement.cs | 84 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 D | X509ClientCertificateCredentialsElement.cs | 84 …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 D | X509InitiatorCertificateClientElement.cs | 84 …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 D | X509DefaultServiceCertificateElement.cs | 84 …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 D | CertificateReferenceElement.cs | 89 …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 D | ServiceBehaviorElementTest.cs | 276 …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 D | EndpointBehaviorElementTest.cs | 205 …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 D | X509CertificateRecipientClientCredential.cs | 18 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 D | X509CertificateInitiatorClientCredential.cs | 14 internal const X509FindType DefaultFindType = X509FindType.FindBySubjectDistinguishedName; 52 …public void SetCertificate(StoreLocation storeLocation, StoreName storeName, X509FindType findType… in SetCertificate()
|
H A D | X509CertificateRecipientServiceCredential.cs | 15 internal const X509FindType DefaultFindType = X509FindType.FindBySubjectDistinguishedName; 55 …public void SetCertificate(StoreLocation storeLocation, StoreName storeName, X509FindType findType… in SetCertificate()
|