22 references to SslStreamPal
System.Net.Security (22)
System\Net\Security\SslStream.IO.cs (5)
244
throw
SslStreamPal
.GetException(token.Status);
655
return ValueTask.FromException(ExceptionDispatchInfo.SetCurrentStackTrace(new IOException(SR.net_io_encrypt,
SslStreamPal
.GetException(token.Status))));
690
throw new IOException(SR.net_io_encrypt,
SslStreamPal
.GetException(token.Status));
901
throw new IOException(SR.net_io_decrypt,
SslStreamPal
.GetException(status));
964
if (buffer.Length == 0 && !
SslStreamPal
.CanEncryptEmptyMessage)
System\Net\Security\SslStream.Protocol.cs (17)
131
result =
SslStreamPal
.QueryContextChannelBinding(_securityContext, kind);
587
if (
SslStreamPal
.TryUpdateClintCertificate(_credentialsHandle, _securityContext, _sslAuthenticationOptions))
616
SslStreamPal
.StartMutualAuthAsAnonymous)
771
SafeFreeCredentials? cred =
SslStreamPal
.AcquireCredentialsHandle(sslAuthenticationOptions, newCredentialsRequested);
877
token =
SslStreamPal
.AcceptSecurityContext(
885
token.Status =
SslStreamPal
.SelectApplicationProtocol(
893
token =
SslStreamPal
.AcceptSecurityContext(
905
token =
SslStreamPal
.InitializeSecurityContext(
921
token =
SslStreamPal
.InitializeSecurityContext(
968
return
SslStreamPal
.Renegotiate(
983
SslStreamPal
.QueryContextStreamSizes(_securityContext!, out StreamSizes streamSizes);
990
SslStreamPal
.QueryContextConnectionInfo(_securityContext!, ref _connectionInfo);
1005
ProtocolToken token =
SslStreamPal
.EncryptMessage(
1021
SecurityStatusPal status =
SslStreamPal
.DecryptMessage(_securityContext!, buffer, out outputOffset, out outputCount);
1183
status =
SslStreamPal
.ApplyAlertToken(_securityContext, TlsAlertType.Fatal, alertMessage);
1202
status =
SslStreamPal
.ApplyShutdownToken(_securityContext!);
1417
return Done ? null :
SslStreamPal
.GetException(Status);