26 references to SslStreamPal
System.Net.Security (26)
System\Net\Security\SslStream.IO.cs (6)
245
throw
SslStreamPal
.GetException(token.Status);
620
if (!
SslStreamPal
.CertValidationInCallback)
724
return ValueTask.FromException(ExceptionDispatchInfo.SetCurrentStackTrace(new IOException(SR.net_io_encrypt,
SslStreamPal
.GetException(token.Status))));
759
throw new IOException(SR.net_io_encrypt,
SslStreamPal
.GetException(token.Status));
978
throw new IOException(SR.net_io_decrypt,
SslStreamPal
.GetException(status));
1041
if (buffer.Length == 0 && !
SslStreamPal
.CanEncryptEmptyMessage)
System\Net\Security\SslStream.Protocol.cs (20)
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);
1152
SslStreamPal
.QueryContextConnectionInfo(_securityContext, ref _connectionInfo);
1176
if (
SslStreamPal
.CanGenerateCustomAlerts && !
SslStreamPal
.CertValidationInCallback)
1217
status =
SslStreamPal
.ApplyAlertToken(_securityContext, TlsAlertType.Fatal, alertMessage);
1236
status =
SslStreamPal
.ApplyShutdownToken(_securityContext!);
1452
return Done ? null :
SslStreamPal
.GetException(Status);