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)
137
result =
SslStreamPal
.QueryContextChannelBinding(_securityContext, kind);
586
if (
SslStreamPal
.TryUpdateClintCertificate(_credentialsHandle, _securityContext, _sslAuthenticationOptions))
617
SslStreamPal
.StartMutualAuthAsAnonymous)
772
SafeFreeCredentials? cred =
SslStreamPal
.AcquireCredentialsHandle(sslAuthenticationOptions, newCredentialsRequested);
878
token =
SslStreamPal
.AcceptSecurityContext(
886
token.Status =
SslStreamPal
.SelectApplicationProtocol(
894
token =
SslStreamPal
.AcceptSecurityContext(
906
token =
SslStreamPal
.InitializeSecurityContext(
922
token =
SslStreamPal
.InitializeSecurityContext(
971
return
SslStreamPal
.Renegotiate(
986
SslStreamPal
.QueryContextStreamSizes(_securityContext!, out StreamSizes streamSizes);
993
SslStreamPal
.QueryContextConnectionInfo(_securityContext!, ref _connectionInfo);
1008
ProtocolToken token =
SslStreamPal
.EncryptMessage(
1024
SecurityStatusPal status =
SslStreamPal
.DecryptMessage(_securityContext!, buffer, out outputOffset, out outputCount);
1145
if (
SslStreamPal
.CanGenerateCustomAlerts)
1208
status =
SslStreamPal
.ApplyAlertToken(_securityContext, TlsAlertType.Fatal, alertMessage);
1227
status =
SslStreamPal
.ApplyShutdownToken(_securityContext!);
1442
return Done ? null :
SslStreamPal
.GetException(Status);