1 write to ErrorCode
System.Net.Security (1)
System\Net\SecurityStatusPal.cs (1)
13ErrorCode = errorCode;
36 references to ErrorCode
System.Net.Security (36)
System\Net\Security\SslStream.IO.cs (14)
237if (token.Status.ErrorCode != SecurityStatusPalErrorCode.OK) 239if (token.Status.ErrorCode == SecurityStatusPalErrorCode.NoRenegotiation) 260while (token.Status.ErrorCode == SecurityStatusPalErrorCode.ContinueNeeded); 344else if (token.Status.ErrorCode == SecurityStatusPalErrorCode.OK) 389token.Status.ErrorCode == SecurityStatusPalErrorCode.IllegalMessage) 397else if (token.Status.ErrorCode == SecurityStatusPalErrorCode.OK) 656if (token.Status.ErrorCode != SecurityStatusPalErrorCode.TryAgain) 677if (token.Status.ErrorCode != SecurityStatusPalErrorCode.OK) 703if (token.Status.ErrorCode == SecurityStatusPalErrorCode.TryAgain) 709else if (token.Status.ErrorCode == SecurityStatusPalErrorCode.OK) 816if (status.ErrorCode == SecurityStatusPalErrorCode.Renegotiate) 904if (status.ErrorCode != SecurityStatusPalErrorCode.OK) 918if (status.ErrorCode == SecurityStatusPalErrorCode.Renegotiate) 927else if (status.ErrorCode == SecurityStatusPalErrorCode.ContextExpired)
System\Net\Security\SslStream.Protocol.cs (14)
914if (token.Status.ErrorCode == SecurityStatusPalErrorCode.HandshakeStarted) 922if (token.Status.ErrorCode == SecurityStatusPalErrorCode.OK) 944if (token.Status.ErrorCode == SecurityStatusPalErrorCode.CredentialsNeeded) 1044if (token.Status.ErrorCode != SecurityStatusPalErrorCode.OK) 1055if (NetEventSource.Log.IsEnabled() && status.ErrorCode == SecurityStatusPalErrorCode.OK) 1251if (status.ErrorCode != SecurityStatusPalErrorCode.OK) 1254NetEventSource.Info(this, $"ApplyAlertToken() returned {status.ErrorCode}"); 1270if (status.ErrorCode != SecurityStatusPalErrorCode.OK) 1273NetEventSource.Info(this, $"ApplyAlertToken() returned {status.ErrorCode}"); 1402return ((Status.ErrorCode != SecurityStatusPalErrorCode.OK) && (Status.ErrorCode != SecurityStatusPalErrorCode.ContinueNeeded)); 1410return (Status.ErrorCode == SecurityStatusPalErrorCode.OK); 1418return (Status.ErrorCode == SecurityStatusPalErrorCode.Renegotiate); 1426return (Status.ErrorCode == SecurityStatusPalErrorCode.ContextExpired);
System\Net\Security\SslStreamPal.Unix.cs (4)
17return status.Exception ?? new Interop.OpenSsl.SslException((int)status.ErrorCode); 92if (retVal.ErrorCode == SecurityStatusPalErrorCode.OK || 93retVal.ErrorCode == SecurityStatusPalErrorCode.Renegotiate) 147if (status.ErrorCode != SecurityStatusPalErrorCode.OK)
System\Net\SecurityStatusPal.cs (4)
20$"{nameof(ErrorCode)}={ErrorCode}" : 21$"{nameof(ErrorCode)}={ErrorCode}, {nameof(Exception)}={Exception}";