7 references to CertificateValidationPal
System.Net.Security (7)
System\Net\Security\Pal.Managed\EndpointChannelBindingToken.cs (1)
14using (X509Certificate2? cert = CertificateValidationPal.GetRemoteCertificate(securityContext))
System\Net\Security\SslStream.Protocol.cs (6)
96_localClientCertificateUsed = CertificateValidationPal.IsLocalCertificateUsed(_credentialsHandle, _securityContext!) 227if (CertificateValidationPal.EnsureStoreOpened(isServer) is X509Store store) 311issuers = CertificateValidationPal.GetRequestCertificateAuthorities(_securityContext!); 346remoteCert = CertificateValidationPal.GetRemoteCertificate(_securityContext); 1049X509Certificate2? certificate = CertificateValidationPal.GetRemoteCertificate(_securityContext, ref chain, _sslAuthenticationOptions.CertificateChainPolicy); 1100sslPolicyErrors |= CertificateValidationPal.VerifyCertificateProperties(