23 references to SslStreamPal
System.Net.Security (23)
System\Net\Security\SslStream.IO.cs (5)
245
throw
SslStreamPal
.GetException(token.Status);
680
return ValueTask.FromException(ExceptionDispatchInfo.SetCurrentStackTrace(new IOException(SR.net_io_encrypt,
SslStreamPal
.GetException(token.Status))));
715
throw new IOException(SR.net_io_encrypt,
SslStreamPal
.GetException(token.Status));
934
throw new IOException(SR.net_io_decrypt,
SslStreamPal
.GetException(status));
997
if (buffer.Length == 0 && !
SslStreamPal
.CanEncryptEmptyMessage)
System\Net\Security\SslStream.Protocol.cs (18)
106
result =
SslStreamPal
.QueryContextChannelBinding(_securityContext, kind);
555
if (
SslStreamPal
.TryUpdateClintCertificate(_credentialsHandle, _securityContext, _sslAuthenticationOptions))
586
SslStreamPal
.StartMutualAuthAsAnonymous)
741
SafeFreeCredentials? cred =
SslStreamPal
.AcquireCredentialsHandle(sslAuthenticationOptions, newCredentialsRequested);
847
token =
SslStreamPal
.AcceptSecurityContext(
855
token.Status =
SslStreamPal
.SelectApplicationProtocol(
863
token =
SslStreamPal
.AcceptSecurityContext(
875
token =
SslStreamPal
.InitializeSecurityContext(
891
token =
SslStreamPal
.InitializeSecurityContext(
940
return
SslStreamPal
.Renegotiate(
955
SslStreamPal
.QueryContextStreamSizes(_securityContext!, out StreamSizes streamSizes);
962
SslStreamPal
.QueryContextConnectionInfo(_securityContext!, ref _connectionInfo);
977
ProtocolToken token =
SslStreamPal
.EncryptMessage(
993
SecurityStatusPal status =
SslStreamPal
.DecryptMessage(_securityContext!, buffer, out outputOffset, out outputCount);
1119
if (
SslStreamPal
.CanGenerateCustomAlerts)
1188
status =
SslStreamPal
.ApplyAlertToken(_securityContext, TlsAlertType.Fatal, alertMessage);
1207
status =
SslStreamPal
.ApplyShutdownToken(_securityContext!);
1422
return Done ? null :
SslStreamPal
.GetException(Status);