18 references to X509CertificateValidationMode
dotnet-svcutil-lib (18)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\X509CertificateValidationMode.cs (8)
42
public static bool IsDefined(
X509CertificateValidationMode
validationMode)
44
return validationMode ==
X509CertificateValidationMode
.None
45
|| validationMode ==
X509CertificateValidationMode
.PeerTrust
46
|| validationMode ==
X509CertificateValidationMode
.ChainTrust
47
|| validationMode ==
X509CertificateValidationMode
.PeerOrChainTrust
48
|| validationMode ==
X509CertificateValidationMode
.Custom;
51
internal static void Validate(
X509CertificateValidationMode
value)
56
typeof(
X509CertificateValidationMode
)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\X509ClientCertificateAuthentication.cs (2)
12
internal const
X509CertificateValidationMode
DefaultCertificateValidationMode =
X509CertificateValidationMode
.ChainTrust;
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\X509ServiceCertificateAuthentication.cs (8)
13
internal const
X509CertificateValidationMode
DefaultCertificateValidationMode =
X509CertificateValidationMode
.ChainTrust;
18
private
X509CertificateValidationMode
_certificateValidationMode = DefaultCertificateValidationMode;
52
public
X509CertificateValidationMode
CertificateValidationMode
108
if (_certificateValidationMode ==
X509CertificateValidationMode
.None)
112
else if (_certificateValidationMode ==
X509CertificateValidationMode
.PeerTrust)
116
else if (_certificateValidationMode ==
X509CertificateValidationMode
.Custom)
125
if (_certificateValidationMode ==
X509CertificateValidationMode
.ChainTrust)