55 references to SslStreamPal
System.Net.Security (55)
System\Net\Security\SslStream.IO.cs (6)
230throw SslStreamPal.GetException(token.Status); 671if (!SslStreamPal.CertValidationInCallback) 774return ValueTask.FromException(ExceptionDispatchInfo.SetCurrentStackTrace(new IOException(SR.net_io_encrypt, SslStreamPal.GetException(token.Status)))); 809throw new IOException(SR.net_io_encrypt, SslStreamPal.GetException(token.Status)); 996throw new IOException(SR.net_io_decrypt, SslStreamPal.GetException(status)); 1068if (buffer.Length == 0 && !SslStreamPal.CanEncryptEmptyMessage)
System\Net\Security\SslStream.Protocol.cs (20)
110result = SslStreamPal.QueryContextChannelBinding(_securityContext, kind); 565if (SslStreamPal.TryUpdateClintCertificate(_credentialsHandle, _securityContext, _sslAuthenticationOptions)) 598SslStreamPal.StartMutualAuthAsAnonymous) 763SafeFreeCredentials? cred = SslStreamPal.AcquireCredentialsHandle(sslAuthenticationOptions, newCredentialsRequested); 877token = SslStreamPal.AcceptSecurityContext( 885token.Status = SslStreamPal.SelectApplicationProtocol( 893token = SslStreamPal.AcceptSecurityContext( 905token = SslStreamPal.InitializeSecurityContext( 921token = SslStreamPal.InitializeSecurityContext( 1001return SslStreamPal.Renegotiate( 1016SslStreamPal.QueryContextStreamSizes(_securityContext!, out StreamSizes streamSizes); 1023SslStreamPal.QueryContextConnectionInfo(_securityContext!, ref _connectionInfo); 1050ProtocolToken token = SslStreamPal.EncryptMessage( 1081status = SslStreamPal.DecryptMessage( 1381SslStreamPal.QueryContextConnectionInfo(securityContext, ref connectionInfo); 1405if (SslStreamPal.CanGenerateCustomAlertsForContext(securityContext) && !SslStreamPal.CertValidationInCallback && sender is SslStream sslStream) 1446status = SslStreamPal.ApplyAlertToken(_securityContext, TlsAlertType.Fatal, alertMessage); 1476status = SslStreamPal.ApplyShutdownToken(_securityContext!); 1692return Done ? null : SslStreamPal.GetException(Status);
System\Net\Security\SslStream.TlsSessionWedge.cs (1)
83token.Status = SslStreamPal.SelectApplicationProtocol(
System\Net\Security\TlsSession.cs (28)
713_sessionCredentialsHandle = SslStreamPal.AcquireCredentialsHandle(_options, false); 751_sessionCredentialsHandle = SslStreamPal.AcquireCredentialsHandle(_options, false); 849return SslStreamPal.QueryContextChannelBinding(_securityContext, kind); 1009token = SslStreamPal.AcceptSecurityContext( 1024SslStreamPal.TryUpdateClintCertificate(ActiveCredentialsRef(), _securityContext, _options); 1028token = SslStreamPal.InitializeSecurityContext( 1040SslStreamPal.TryUpdateClintCertificate(ActiveCredentialsRef(), _securityContext, _options)) 1048token = SslStreamPal.InitializeSecurityContext( 1081SecurityStatusPal selStatus = SslStreamPal.SelectApplicationProtocol( 1096token = SslStreamPal.AcceptSecurityContext( 1106token = SslStreamPal.InitializeSecurityContext( 1242ProtocolToken token = SslStreamPal.EncryptMessage( 1252throw new IOException(SR.net_io_encrypt, SslStreamPal.GetException(token.Status)); 1329SecurityStatusPal status = SslStreamPal.DecryptMessage( 1387throw new IOException(SR.net_io_decrypt, SslStreamPal.GetException(status)); 1408SecurityStatusPal status = SslStreamPal.DecryptMessage( 1513ProtocolToken token = SslStreamPal.Renegotiate( 1602SecurityStatusPal status = SslStreamPal.ApplyShutdownToken(_securityContext); 1605throw new IOException(SR.net_io_encrypt, SslStreamPal.GetException(status)); 1617token = SslStreamPal.AcceptSecurityContext( 1627token = SslStreamPal.InitializeSecurityContext( 1833token = SslStreamPal.AcceptSecurityContext( 1843token = SslStreamPal.InitializeSecurityContext( 1863SslStreamPal.QueryContextConnectionInfo(_securityContext!, ref _connectionInfo); 1864SslStreamPal.QueryContextStreamSizes(_securityContext!, out StreamSizes streamSizes); 1997SafeFreeCredentials? acquired = SslStreamPal.AcquireCredentialsHandle(_options, false); 2021token = SslStreamPal.AcceptSecurityContext( 2031token = SslStreamPal.InitializeSecurityContext(