27 references to RemoteCertificateValidationCallback
InMemory.FunctionalTests (1)
TestTransport\InMemoryHttpClientSlim.cs (1)
125validateCertificate ? null : (RemoteCertificateValidationCallback)((a, b, c, d) => true));
Microsoft.AspNetCore.InternalTesting (1)
HttpClientSlim.cs (1)
158validateCertificate ? null : (RemoteCertificateValidationCallback)((a, b, c, d) => true));
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Middleware\HttpsConnectionMiddleware.cs (2)
111var remoteCertificateValidationCallback = _options.ClientCertificateMode == ClientCertificateMode.NoCertificate ? 112(RemoteCertificateValidationCallback?)null : RemoteCertificateValidationCallback;
netstandard (1)
netstandard.cs (1)
1245[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.Security.RemoteCertificateValidationCallback))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
737[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.Security.RemoteCertificateValidationCallback))]
System.Net.Http (2)
System\Net\Http\SocketsHttpHandler\ConnectHelper.cs (2)
26public readonly RemoteCertificateValidationCallback ForSocketsHttpHandler; 40RemoteCertificateValidationCallback? callback = sslOptions.RemoteCertificateValidationCallback;
System.Net.HttpListener (1)
System\Net\Managed\HttpListener.Certificates.cs (1)
14internal static SslStream CreateSslStream(Stream innerStream, bool ownsStream, RemoteCertificateValidationCallback callback)
System.Net.Quic (2)
System\Net\Quic\QuicConnection.SslConnectionOptions.cs (2)
46private readonly RemoteCertificateValidationCallback? _validationCallback; 57revocationMode, RemoteCertificateValidationCallback? validationCallback,
System.Net.Requests (4)
System\Net\HttpWebRequest.cs (3)
124public readonly RemoteCertificateValidationCallback? ServerCertificateValidationCallback; 791public RemoteCertificateValidationCallback? ServerCertificateValidationCallback { get; set; } 1741RemoteCertificateValidationCallback? rcvc = parameters.ServerCertificateValidationCallback;
System\Net\ServicePoint\ServicePointManager.cs (1)
94public static RemoteCertificateValidationCallback? ServerCertificateValidationCallback { get; set; }
System.Net.Security (10)
System\Net\Security\SslAuthenticationOptions.cs (3)
30throw new InvalidOperationException(SR.Format(SR.net_conflicting_options, nameof(RemoteCertificateValidationCallback))); 101throw new InvalidOperationException(SR.Format(SR.net_conflicting_options, nameof(RemoteCertificateValidationCallback))); 180internal RemoteCertificateValidationCallback? CertValidationDelegate { get; set; }
System\Net\Security\SslClientAuthenticationOptions.cs (1)
36public RemoteCertificateValidationCallback? RemoteCertificateValidationCallback { get; set; }
System\Net\Security\SslServerAuthenticationOptions.cs (1)
37public RemoteCertificateValidationCallback? RemoteCertificateValidationCallback { get; set; }
System\Net\Security\SslStream.cs (3)
193public SslStream(Stream innerStream, bool leaveInnerStreamOpen, RemoteCertificateValidationCallback? userCertificateValidationCallback) 198public SslStream(Stream innerStream, bool leaveInnerStreamOpen, RemoteCertificateValidationCallback? userCertificateValidationCallback, 204public SslStream(Stream innerStream, bool leaveInnerStreamOpen, RemoteCertificateValidationCallback? userCertificateValidationCallback,
System\Net\Security\SslStream.Protocol.cs (2)
1038internal bool VerifyRemoteCertificate(RemoteCertificateValidationCallback? remoteCertValidationCallback, SslCertificateTrust? trust, ref ProtocolToken alertToken, out SslPolicyErrors sslPolicyErrors, out X509ChainStatusFlags chainStatus) 1274private void LogCertificateValidation(RemoteCertificateValidationCallback? remoteCertValidationCallback, SslPolicyErrors sslPolicyErrors, bool success, X509Chain chain)
System.Net.WebSockets.Client (2)
System\Net\WebSockets\ClientWebSocketOptions.cs (2)
25private RemoteCertificateValidationCallback? _remoteCertificateValidationCallback; 133public RemoteCertificateValidationCallback? RemoteCertificateValidationCallback