22 references to SslStreamPal
System.Net.Security (22)
System\Net\Security\SslStream.IO.cs (5)
244throw SslStreamPal.GetException(token.Status); 655return ValueTask.FromException(ExceptionDispatchInfo.SetCurrentStackTrace(new IOException(SR.net_io_encrypt, SslStreamPal.GetException(token.Status)))); 690throw new IOException(SR.net_io_encrypt, SslStreamPal.GetException(token.Status)); 901throw new IOException(SR.net_io_decrypt, SslStreamPal.GetException(status)); 964if (buffer.Length == 0 && !SslStreamPal.CanEncryptEmptyMessage)
System\Net\Security\SslStream.Protocol.cs (17)
131result = SslStreamPal.QueryContextChannelBinding(_securityContext, kind); 587if (SslStreamPal.TryUpdateClintCertificate(_credentialsHandle, _securityContext, _sslAuthenticationOptions)) 616SslStreamPal.StartMutualAuthAsAnonymous) 771SafeFreeCredentials? cred = SslStreamPal.AcquireCredentialsHandle(sslAuthenticationOptions, newCredentialsRequested); 877token = SslStreamPal.AcceptSecurityContext( 885token.Status = SslStreamPal.SelectApplicationProtocol( 893token = SslStreamPal.AcceptSecurityContext( 905token = SslStreamPal.InitializeSecurityContext( 921token = SslStreamPal.InitializeSecurityContext( 968return SslStreamPal.Renegotiate( 983SslStreamPal.QueryContextStreamSizes(_securityContext!, out StreamSizes streamSizes); 990SslStreamPal.QueryContextConnectionInfo(_securityContext!, ref _connectionInfo); 1005ProtocolToken token = SslStreamPal.EncryptMessage( 1021SecurityStatusPal status = SslStreamPal.DecryptMessage(_securityContext!, buffer, out outputOffset, out outputCount); 1183status = SslStreamPal.ApplyAlertToken(_securityContext, TlsAlertType.Fatal, alertMessage); 1202status = SslStreamPal.ApplyShutdownToken(_securityContext!); 1417return Done ? null : SslStreamPal.GetException(Status);