1 write to ErrorCode
System.Net.Security (1)
System\Net\SecurityStatusPal.cs (1)
13
ErrorCode
= errorCode;
36 references to ErrorCode
System.Net.Security (36)
System\Net\Security\SslStream.IO.cs (14)
236
if (token.Status.
ErrorCode
!= SecurityStatusPalErrorCode.OK)
238
if (token.Status.
ErrorCode
== SecurityStatusPalErrorCode.NoRenegotiation)
259
while (token.Status.
ErrorCode
== SecurityStatusPalErrorCode.ContinueNeeded);
319
else if (token.Status.
ErrorCode
== SecurityStatusPalErrorCode.OK)
364
token.Status.
ErrorCode
== SecurityStatusPalErrorCode.IllegalMessage)
372
else if (token.Status.
ErrorCode
== SecurityStatusPalErrorCode.OK)
631
if (token.Status.
ErrorCode
!= SecurityStatusPalErrorCode.TryAgain)
652
if (token.Status.
ErrorCode
!= SecurityStatusPalErrorCode.OK)
678
if (token.Status.
ErrorCode
== SecurityStatusPalErrorCode.TryAgain)
684
else if (token.Status.
ErrorCode
== SecurityStatusPalErrorCode.OK)
791
if (status.
ErrorCode
== SecurityStatusPalErrorCode.Renegotiate)
871
if (status.
ErrorCode
!= SecurityStatusPalErrorCode.OK)
885
if (status.
ErrorCode
== SecurityStatusPalErrorCode.Renegotiate)
894
else if (status.
ErrorCode
== SecurityStatusPalErrorCode.ContextExpired)
System\Net\Security\SslStream.Protocol.cs (14)
883
if (token.Status.
ErrorCode
== SecurityStatusPalErrorCode.HandshakeStarted)
891
if (token.Status.
ErrorCode
== SecurityStatusPalErrorCode.OK)
913
if (token.Status.
ErrorCode
== SecurityStatusPalErrorCode.CredentialsNeeded)
1011
if (token.Status.
ErrorCode
!= SecurityStatusPalErrorCode.OK)
1022
if (NetEventSource.Log.IsEnabled() && status.
ErrorCode
== SecurityStatusPalErrorCode.OK)
1185
if (status.
ErrorCode
!= SecurityStatusPalErrorCode.OK)
1188
NetEventSource.Info(this, $"ApplyAlertToken() returned {status.
ErrorCode
}");
1204
if (status.
ErrorCode
!= SecurityStatusPalErrorCode.OK)
1207
NetEventSource.Info(this, $"ApplyAlertToken() returned {status.
ErrorCode
}");
1336
return ((Status.
ErrorCode
!= SecurityStatusPalErrorCode.OK) && (Status.
ErrorCode
!= SecurityStatusPalErrorCode.ContinueNeeded));
1344
return (Status.
ErrorCode
== SecurityStatusPalErrorCode.OK);
1352
return (Status.
ErrorCode
== SecurityStatusPalErrorCode.Renegotiate);
1360
return (Status.
ErrorCode
== SecurityStatusPalErrorCode.ContextExpired);
System\Net\Security\SslStreamPal.Unix.cs (4)
17
return status.Exception ?? new Interop.OpenSsl.SslException((int)status.
ErrorCode
);
91
if (retVal.
ErrorCode
== SecurityStatusPalErrorCode.OK ||
92
retVal.
ErrorCode
== SecurityStatusPalErrorCode.Renegotiate)
146
if (status.
ErrorCode
!= SecurityStatusPalErrorCode.OK)
System\Net\SecurityStatusPal.cs (4)
20
$"{nameof(
ErrorCode
)}={
ErrorCode
}" :
21
$"{nameof(
ErrorCode
)}={
ErrorCode
}, {nameof(Exception)}={Exception}";