<PackageReference Include="System.ServiceModel.Http" Version="6.2.0" />

System.ServiceModel.Channels.HttpTransportSecurityHelpers

namespace System.ServiceModel.Channels { internal static class HttpTransportSecurityHelpers { public static void AddIdentityMapping(EndpointAddress target, Message message); public static string GetIdentityHostHeader(EndpointAddress target); public static void AddServerCertIdentityValidation(HttpClientHandler httpClientHandler, EndpointAddress to); public static void SetServerCertificateValidationCallback(HttpClientHandler handler, Func<HttpRequestMessage, X509Certificate2, X509Chain, SslPolicyErrors, bool> validator); } }