internal void ApplyTransportSecurity(HttpsTransportBindingElement https) { if (_mode == SecurityMode.TransportWithMessageCredential) { _transportSecurity.ConfigureTransportProtectionOnly(https); } else { _transportSecurity.ConfigureTransportProtectionAndAuthentication(https); } }
internal static void ApplyTransportSecurity(HttpsTransportBindingElement transport, HttpTransportSecurity transportSecurity) { HttpTransportSecurity.ConfigureTransportProtectionAndAuthentication(transport, transportSecurity); }
internal static void EnableTransportSecurity(HttpsTransportBindingElement https, HttpTransportSecurity transportSecurity) { HttpTransportSecurity.ConfigureTransportProtectionAndAuthentication(https, transportSecurity); }