23 references to SslStreamPal
System.Net.Security (23)
System\Net\Security\SslStream.IO.cs (5)
245throw SslStreamPal.GetException(token.Status); 680return ValueTask.FromException(ExceptionDispatchInfo.SetCurrentStackTrace(new IOException(SR.net_io_encrypt, SslStreamPal.GetException(token.Status)))); 715throw new IOException(SR.net_io_encrypt, SslStreamPal.GetException(token.Status)); 934throw new IOException(SR.net_io_decrypt, SslStreamPal.GetException(status)); 997if (buffer.Length == 0 && !SslStreamPal.CanEncryptEmptyMessage)
System\Net\Security\SslStream.Protocol.cs (18)
137result = SslStreamPal.QueryContextChannelBinding(_securityContext, kind); 586if (SslStreamPal.TryUpdateClintCertificate(_credentialsHandle, _securityContext, _sslAuthenticationOptions)) 617SslStreamPal.StartMutualAuthAsAnonymous) 772SafeFreeCredentials? cred = SslStreamPal.AcquireCredentialsHandle(sslAuthenticationOptions, newCredentialsRequested); 878token = SslStreamPal.AcceptSecurityContext( 886token.Status = SslStreamPal.SelectApplicationProtocol( 894token = SslStreamPal.AcceptSecurityContext( 906token = SslStreamPal.InitializeSecurityContext( 922token = SslStreamPal.InitializeSecurityContext( 971return SslStreamPal.Renegotiate( 986SslStreamPal.QueryContextStreamSizes(_securityContext!, out StreamSizes streamSizes); 993SslStreamPal.QueryContextConnectionInfo(_securityContext!, ref _connectionInfo); 1008ProtocolToken token = SslStreamPal.EncryptMessage( 1024SecurityStatusPal status = SslStreamPal.DecryptMessage(_securityContext!, buffer, out outputOffset, out outputCount); 1145if (SslStreamPal.CanGenerateCustomAlerts) 1208status = SslStreamPal.ApplyAlertToken(_securityContext, TlsAlertType.Fatal, alertMessage); 1227status = SslStreamPal.ApplyShutdownToken(_securityContext!); 1442return Done ? null : SslStreamPal.GetException(Status);