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)
106result = SslStreamPal.QueryContextChannelBinding(_securityContext, kind); 555if (SslStreamPal.TryUpdateClintCertificate(_credentialsHandle, _securityContext, _sslAuthenticationOptions)) 586SslStreamPal.StartMutualAuthAsAnonymous) 741SafeFreeCredentials? cred = SslStreamPal.AcquireCredentialsHandle(sslAuthenticationOptions, newCredentialsRequested); 847token = SslStreamPal.AcceptSecurityContext( 855token.Status = SslStreamPal.SelectApplicationProtocol( 863token = SslStreamPal.AcceptSecurityContext( 875token = SslStreamPal.InitializeSecurityContext( 891token = SslStreamPal.InitializeSecurityContext( 940return SslStreamPal.Renegotiate( 955SslStreamPal.QueryContextStreamSizes(_securityContext!, out StreamSizes streamSizes); 962SslStreamPal.QueryContextConnectionInfo(_securityContext!, ref _connectionInfo); 977ProtocolToken token = SslStreamPal.EncryptMessage( 993SecurityStatusPal status = SslStreamPal.DecryptMessage(_securityContext!, buffer, out outputOffset, out outputCount); 1119if (SslStreamPal.CanGenerateCustomAlerts) 1188status = SslStreamPal.ApplyAlertToken(_securityContext, TlsAlertType.Fatal, alertMessage); 1207status = SslStreamPal.ApplyShutdownToken(_securityContext!); 1422return Done ? null : SslStreamPal.GetException(Status);