14 references to Error
System.Net.Security (14)
src\runtime\src\libraries\Common\src\System\Net\Security\SslKeyLogger.cs (1)
32NetEventSource.Error(null, $"Failed to open SSL key log file '{s_keyLogFile}': {ex}");
src\runtime\src\libraries\Common\src\System\Net\Security\SSPIHandleCache.cs (1)
36NetEventSource.Error(null, $"Attempted to throw: {e}");
System\Net\Security\SslStream.IO.cs (3)
464if (NetEventSource.Log.IsEnabled() && _lastFrame.AlertDescription != TlsAlertDescription.CloseNotify) NetEventSource.Error(this, $"Received TLS alert {_lastFrame.AlertDescription}"); 497if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, $"Failed to parse TLS hello."); 627if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, $"Ignoring unsolicited renegotiated certificate.");
System\Net\Security\SslStream.Protocol.cs (6)
659NetEventSource.Error(this, $"ServerCertSelectionDelegate returned no certificate for '{_sslAuthenticationOptions.TargetHost}'."); 675NetEventSource.Error(this, $"CertSelectionDelegate returned no certificaete for '{_sslAuthenticationOptions.TargetHost}'."); 794NetEventSource.Error(this, $"Authentication failed. Status: {wedged.Status}, Exception message: {wedged.GetException()!.Message}"); 804NetEventSource.Error(this, $"Authentication failed. Status: {token.Status}, Exception message: {token.GetException()!.Message}"); 1039if (NetEventSource.Log.IsEnabled()) NetEventSource.Error(this, $"ERROR {token.Status}"); 1232NetEventSource.Error(sender, $"Remote certificate required, but no remote certificate received");
System\Net\Security\SslStreamCertificateContext.cs (2)
82NetEventSource.Error(null, $"Failed to build chain for {target.Subject}"); 95NetEventSource.Error(null, $"Failed to build chain for {target.Subject} while trusting additional certificates");
System\Net\Security\SslStreamCertificateContext.Linux.cs (1)
380NetEventSource.Error(this, $"OCSP refresh failed: {ex}");