26 references to SslStreamPal
System.Net.Security (26)
System\Net\Security\SslStream.IO.cs (6)
227
throw
SslStreamPal
.GetException(token.Status);
621
if (!
SslStreamPal
.CertValidationInCallback)
725
return ValueTask.FromException(ExceptionDispatchInfo.SetCurrentStackTrace(new IOException(SR.net_io_encrypt,
SslStreamPal
.GetException(token.Status))));
760
throw new IOException(SR.net_io_encrypt,
SslStreamPal
.GetException(token.Status));
947
throw new IOException(SR.net_io_decrypt,
SslStreamPal
.GetException(status));
1019
if (buffer.Length == 0 && !
SslStreamPal
.CanEncryptEmptyMessage)
System\Net\Security\SslStream.Protocol.cs (20)
107
result =
SslStreamPal
.QueryContextChannelBinding(_securityContext, kind);
556
if (
SslStreamPal
.TryUpdateClintCertificate(_credentialsHandle, _securityContext, _sslAuthenticationOptions))
587
SslStreamPal
.StartMutualAuthAsAnonymous)
742
SafeFreeCredentials? cred =
SslStreamPal
.AcquireCredentialsHandle(sslAuthenticationOptions, newCredentialsRequested);
848
token =
SslStreamPal
.AcceptSecurityContext(
856
token.Status =
SslStreamPal
.SelectApplicationProtocol(
864
token =
SslStreamPal
.AcceptSecurityContext(
876
token =
SslStreamPal
.InitializeSecurityContext(
892
token =
SslStreamPal
.InitializeSecurityContext(
970
return
SslStreamPal
.Renegotiate(
985
SslStreamPal
.QueryContextStreamSizes(_securityContext!, out StreamSizes streamSizes);
992
SslStreamPal
.QueryContextConnectionInfo(_securityContext!, ref _connectionInfo);
1019
ProtocolToken token =
SslStreamPal
.EncryptMessage(
1050
status =
SslStreamPal
.DecryptMessage(
1252
SslStreamPal
.QueryContextConnectionInfo(_securityContext, ref _connectionInfo);
1276
if (
SslStreamPal
.CanGenerateCustomAlertsForContext(_securityContext) && !
SslStreamPal
.CertValidationInCallback)
1317
status =
SslStreamPal
.ApplyAlertToken(_securityContext, TlsAlertType.Fatal, alertMessage);
1347
status =
SslStreamPal
.ApplyShutdownToken(_securityContext!);
1563
return Done ? null :
SslStreamPal
.GetException(Status);