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);
586
if (
SslStreamPal
.TryUpdateClintCertificate(_credentialsHandle, _securityContext, _sslAuthenticationOptions))
615
SslStreamPal
.StartMutualAuthAsAnonymous)
770
SafeFreeCredentials? cred =
SslStreamPal
.AcquireCredentialsHandle(sslAuthenticationOptions, newCredentialsRequested);
876
token =
SslStreamPal
.AcceptSecurityContext(
884
token.Status =
SslStreamPal
.SelectApplicationProtocol(
892
token =
SslStreamPal
.AcceptSecurityContext(
904
token =
SslStreamPal
.InitializeSecurityContext(
920
token =
SslStreamPal
.InitializeSecurityContext(
967
return
SslStreamPal
.Renegotiate(
982
SslStreamPal
.QueryContextStreamSizes(_securityContext!, out StreamSizes streamSizes);
989
SslStreamPal
.QueryContextConnectionInfo(_securityContext!, ref _connectionInfo);
1004
ProtocolToken token =
SslStreamPal
.EncryptMessage(
1020
SecurityStatusPal status =
SslStreamPal
.DecryptMessage(_securityContext!, buffer, out outputOffset, out outputCount);
1182
status =
SslStreamPal
.ApplyAlertToken(_securityContext, TlsAlertType.Fatal, alertMessage);
1201
status =
SslStreamPal
.ApplyShutdownToken(_securityContext!);
1416
return Done ? null :
SslStreamPal
.GetException(Status);