109 references to X509CertificateValidationMode
System.IdentityModel (46)
System\IdentityModel\Configuration\IdentityConfiguration.cs (4)
30public static readonly X509CertificateValidationMode DefaultCertificateValidationMode = X509CertificateValidationMode.PeerOrChainTrust; 164public X509CertificateValidationMode CertificateValidationMode 365if (this.CertificateValidationMode != X509CertificateValidationMode.Custom)
System\IdentityModel\Configuration\Properties.cs (3)
159properties.Add(new ConfigurationProperty("certificateValidationMode", typeof(System.ServiceModel.Security.X509CertificateValidationMode), System.ServiceModel.Security.X509CertificateValidationMode.PeerOrChainTrust, null, new System.IdentityModel.Configuration.StandardRuntimeEnumValidator(typeof(System.ServiceModel.Security.X509CertificateValidationMode)), System.Configuration.ConfigurationPropertyOptions.None));
System\IdentityModel\Configuration\X509CertificateValidationElement.cs (5)
18const X509CertificateValidationMode DefaultX509CertificateValidationMode = X509CertificateValidationMode.PeerOrChainTrust; 26[StandardRuntimeEnumValidator( typeof( X509CertificateValidationMode ) )] 27public X509CertificateValidationMode CertificateValidationMode 29get { return ( X509CertificateValidationMode ) this[ConfigurationStrings.X509CertificateValidationMode]; }
System\IdentityModel\Metadata\MetadataSerializer.cs (3)
581public X509CertificateValidationMode CertificateValidationMode 634if (CertificateValidationMode != X509CertificateValidationMode.Custom) 638else if (CertificateValidationMode == X509CertificateValidationMode.Custom && CertificateValidator == null)
System\IdentityModel\Tokens\SamlSecurityTokenRequirement.cs (9)
28static X509CertificateValidationMode DefaultValidationMode = X509CertificateValidationMode.PeerOrChainTrust; 63X509CertificateValidationMode certificateValidationMode = DefaultValidationMode; 116certificateValidationMode = X509CertificateValidationMode.ChainTrust; 121certificateValidationMode = X509CertificateValidationMode.PeerOrChainTrust; 126certificateValidationMode = X509CertificateValidationMode.PeerTrust; 131certificateValidationMode = X509CertificateValidationMode.None; 136certificateValidationMode = X509CertificateValidationMode.Custom; 197if (certificateValidationMode == X509CertificateValidationMode.Custom)
System\IdentityModel\Tokens\SecurityTokenHandlerConfiguration.cs (3)
59public static readonly X509CertificateValidationMode DefaultCertificateValidationMode = IdentityConfiguration.DefaultCertificateValidationMode; 73X509CertificateValidationMode certificateValidationMode = DefaultCertificateValidationMode; 159public X509CertificateValidationMode CertificateValidationMode
System\IdentityModel\Tokens\X509SecurityTokenHandler.cs (9)
32private static X509CertificateValidationMode defaultValidationMode = X509CertificateValidationMode.PeerOrChainTrust; 103X509CertificateValidationMode certificateValidationMode = defaultValidationMode; 160certificateValidationMode = X509CertificateValidationMode.ChainTrust; 164certificateValidationMode = X509CertificateValidationMode.PeerOrChainTrust; 168certificateValidationMode = X509CertificateValidationMode.PeerTrust; 172certificateValidationMode = X509CertificateValidationMode.None; 176certificateValidationMode = X509CertificateValidationMode.Custom; 211if (certificateValidationMode == X509CertificateValidationMode.Custom)
System\IdentityModel\X509CertificateValidatorEx.cs (9)
21private X509CertificateValidationMode certificateValidationMode; 26X509CertificateValidationMode certificateValidationMode, 34case X509CertificateValidationMode.None: 40case X509CertificateValidationMode.PeerTrust: 46case X509CertificateValidationMode.ChainTrust: 56case X509CertificateValidationMode.PeerOrChainTrust: 66case X509CertificateValidationMode.Custom: 74if (this.certificateValidationMode == X509CertificateValidationMode.ChainTrust || 75this.certificateValidationMode == X509CertificateValidationMode.PeerOrChainTrust)
System\IdentityModel\X509Util.cs (1)
175System.ServiceModel.Security.X509CertificateValidationMode certificateValidationMode,
System.ServiceModel (63)
AssemblyInfo.cs (1)
31[assembly: TypeForwardedTo( typeof( System.ServiceModel.Security.X509CertificateValidationMode ) )]
System\ServiceModel\Channels\HttpsChannelListener.cs (1)
55serviceCredentials.ClientCertificate.Authentication.CertificateValidationMode == X509CertificateValidationMode.Custom)
System\ServiceModel\ComIntegration\ChannelCredentials.cs (3)
111X509CertificateValidationMode validationMode = X509ServiceCertificateAuthentication.DefaultCertificateValidationMode; 113validationMode = (X509CertificateValidationMode)Enum.Parse(typeof(X509CertificateValidationMode), certificationValidationMode);
System\ServiceModel\Configuration\IssuedTokenServiceElement.cs (2)
53public X509CertificateValidationMode CertificateValidationMode 55get { return (X509CertificateValidationMode)base[ConfigurationStrings.CertificateValidationMode]; }
System\ServiceModel\Configuration\Properties.cs (8)
1489properties.Add(new ConfigurationProperty("certificateValidationMode", typeof(System.ServiceModel.Security.X509CertificateValidationMode), System.ServiceModel.Security.X509CertificateValidationMode.ChainTrust, null, new System.ServiceModel.Configuration.ServiceModelEnumValidator(typeof(System.ServiceModel.Security.X509CertificateValidationModeHelper)), System.Configuration.ConfigurationPropertyOptions.None)); 3999properties.Add(new ConfigurationProperty("certificateValidationMode", typeof(System.ServiceModel.Security.X509CertificateValidationMode), System.ServiceModel.Security.X509CertificateValidationMode.ChainTrust, null, new System.ServiceModel.Configuration.ServiceModelEnumValidator(typeof(System.ServiceModel.Security.X509CertificateValidationModeHelper)), System.Configuration.ConfigurationPropertyOptions.None)); 4216properties.Add(new ConfigurationProperty("certificateValidationMode", typeof(System.ServiceModel.Security.X509CertificateValidationMode), System.ServiceModel.Security.X509CertificateValidationMode.ChainTrust, null, new System.ServiceModel.Configuration.ServiceModelEnumValidator(typeof(System.ServiceModel.Security.X509CertificateValidationModeHelper)), System.Configuration.ConfigurationPropertyOptions.None)); 4476properties.Add(new ConfigurationProperty("certificateValidationMode", typeof(System.ServiceModel.Security.X509CertificateValidationMode), System.ServiceModel.Security.X509CertificateValidationMode.PeerOrChainTrust, null, new System.ServiceModel.Configuration.ServiceModelEnumValidator(typeof(System.ServiceModel.Security.X509CertificateValidationModeHelper)), System.Configuration.ConfigurationPropertyOptions.None));
System\ServiceModel\Configuration\X509ClientCertificateAuthenticationElement.cs (2)
39public X509CertificateValidationMode CertificateValidationMode 41get { return (X509CertificateValidationMode)base[ConfigurationStrings.CertificateValidationMode]; }
System\ServiceModel\Configuration\X509PeerCertificateAuthenticationElement.cs (2)
39public X509CertificateValidationMode CertificateValidationMode 41get { return (X509CertificateValidationMode)base[ConfigurationStrings.CertificateValidationMode]; }
System\ServiceModel\Configuration\X509ServiceCertificateAuthenticationElement.cs (2)
39public X509CertificateValidationMode CertificateValidationMode 41get { return (X509CertificateValidationMode)base[ConfigurationStrings.CertificateValidationMode]; }
System\ServiceModel\Security\IssuedTokenServiceCredential.cs (8)
17internal const X509CertificateValidationMode DefaultCertificateValidationMode = X509CertificateValidationMode.ChainTrust; 25X509CertificateValidationMode certificateValidationMode = DefaultCertificateValidationMode; 102public X509CertificateValidationMode CertificateValidationMode 170if (this.certificateValidationMode == X509CertificateValidationMode.None) 174else if (this.certificateValidationMode == X509CertificateValidationMode.PeerTrust) 178else if (this.certificateValidationMode == X509CertificateValidationMode.Custom) 191if (this.certificateValidationMode == X509CertificateValidationMode.ChainTrust)
System\ServiceModel\Security\PeerCredential.cs (1)
128if (one.CertificateValidationMode != X509CertificateValidationMode.Custom)
System\ServiceModel\Security\X509CertificateValidationMode.cs (8)
12public static bool IsDefined(X509CertificateValidationMode validationMode) 14return validationMode == X509CertificateValidationMode.None 15|| validationMode == X509CertificateValidationMode.PeerTrust 16|| validationMode == X509CertificateValidationMode.ChainTrust 17|| validationMode == X509CertificateValidationMode.PeerOrChainTrust 18|| validationMode == X509CertificateValidationMode.Custom; 21internal static void Validate(X509CertificateValidationMode value) 26typeof(X509CertificateValidationMode)));
System\ServiceModel\Security\X509ClientCertificateAuthentication.cs (9)
16internal const X509CertificateValidationMode DefaultCertificateValidationMode = X509CertificateValidationMode.ChainTrust; 22X509CertificateValidationMode certificateValidationMode = DefaultCertificateValidationMode; 69public X509CertificateValidationMode CertificateValidationMode 150if (this.certificateValidationMode == X509CertificateValidationMode.None) 154else if (this.certificateValidationMode == X509CertificateValidationMode.PeerTrust) 158else if (this.certificateValidationMode == X509CertificateValidationMode.Custom) 174if (this.certificateValidationMode == X509CertificateValidationMode.ChainTrust) 183if (this.certificateValidationMode == X509CertificateValidationMode.ChainTrust)
System\ServiceModel\Security\X509PeerCertificateAuthentication.cs (8)
14internal const X509CertificateValidationMode DefaultCertificateValidationMode = X509CertificateValidationMode.PeerOrChainTrust; 19X509CertificateValidationMode certificateValidationMode = DefaultCertificateValidationMode; 53public X509CertificateValidationMode CertificateValidationMode 109if (this.certificateValidationMode == X509CertificateValidationMode.None) 113else if (this.certificateValidationMode == X509CertificateValidationMode.PeerTrust) 117else if (this.certificateValidationMode == X509CertificateValidationMode.Custom) 126if (this.certificateValidationMode == X509CertificateValidationMode.ChainTrust)
System\ServiceModel\Security\X509ServiceCertificateAuthentication.cs (8)
15internal const X509CertificateValidationMode DefaultCertificateValidationMode = X509CertificateValidationMode.ChainTrust; 22X509CertificateValidationMode certificateValidationMode = DefaultCertificateValidationMode; 62public X509CertificateValidationMode CertificateValidationMode 118if (this.certificateValidationMode == X509CertificateValidationMode.None) 122else if (this.certificateValidationMode == X509CertificateValidationMode.PeerTrust) 126else if (this.certificateValidationMode == X509CertificateValidationMode.Custom) 141if (this.certificateValidationMode == X509CertificateValidationMode.ChainTrust)