52 references to SslStreamPal
System.Net.Security (52)
System\Net\Security\SslStream.IO.cs (6)
230throw SslStreamPal.GetException(token.Status); 654if (!SslStreamPal.CertValidationInCallback) 757return ValueTask.FromException(ExceptionDispatchInfo.SetCurrentStackTrace(new IOException(SR.net_io_encrypt, SslStreamPal.GetException(token.Status)))); 792throw new IOException(SR.net_io_encrypt, SslStreamPal.GetException(token.Status)); 979throw new IOException(SR.net_io_decrypt, SslStreamPal.GetException(status)); 1051if (buffer.Length == 0 && !SslStreamPal.CanEncryptEmptyMessage)
System\Net\Security\SslStream.Protocol.cs (20)
107result = SslStreamPal.QueryContextChannelBinding(_securityContext, kind); 556if (SslStreamPal.TryUpdateClintCertificate(_credentialsHandle, _securityContext, _sslAuthenticationOptions)) 588SslStreamPal.StartMutualAuthAsAnonymous) 750SafeFreeCredentials? cred = SslStreamPal.AcquireCredentialsHandle(sslAuthenticationOptions, newCredentialsRequested); 868token = SslStreamPal.AcceptSecurityContext( 876token.Status = SslStreamPal.SelectApplicationProtocol( 884token = SslStreamPal.AcceptSecurityContext( 896token = SslStreamPal.InitializeSecurityContext( 912token = SslStreamPal.InitializeSecurityContext( 991return SslStreamPal.Renegotiate( 1006SslStreamPal.QueryContextStreamSizes(_securityContext!, out StreamSizes streamSizes); 1013SslStreamPal.QueryContextConnectionInfo(_securityContext!, ref _connectionInfo); 1040ProtocolToken token = SslStreamPal.EncryptMessage( 1071status = SslStreamPal.DecryptMessage( 1367SslStreamPal.QueryContextConnectionInfo(securityContext, ref connectionInfo); 1391if (SslStreamPal.CanGenerateCustomAlertsForContext(securityContext) && !SslStreamPal.CertValidationInCallback && sender is SslStream sslStream) 1432status = SslStreamPal.ApplyAlertToken(_securityContext, TlsAlertType.Fatal, alertMessage); 1462status = SslStreamPal.ApplyShutdownToken(_securityContext!); 1678return Done ? null : SslStreamPal.GetException(Status);
System\Net\Security\SslStream.TlsSessionWedge.cs (1)
83token.Status = SslStreamPal.SelectApplicationProtocol(
System\Net\Security\TlsSession.cs (25)
705_sessionCredentialsHandle = SslStreamPal.AcquireCredentialsHandle(_options, false); 743_sessionCredentialsHandle = SslStreamPal.AcquireCredentialsHandle(_options, false); 841return SslStreamPal.QueryContextChannelBinding(_securityContext, kind); 1001token = SslStreamPal.AcceptSecurityContext( 1013token = SslStreamPal.InitializeSecurityContext( 1045SecurityStatusPal selStatus = SslStreamPal.SelectApplicationProtocol( 1060token = SslStreamPal.AcceptSecurityContext( 1070token = SslStreamPal.InitializeSecurityContext( 1206ProtocolToken token = SslStreamPal.EncryptMessage( 1216throw new IOException(SR.net_io_encrypt, SslStreamPal.GetException(token.Status)); 1293SecurityStatusPal status = SslStreamPal.DecryptMessage( 1351throw new IOException(SR.net_io_decrypt, SslStreamPal.GetException(status)); 1372SecurityStatusPal status = SslStreamPal.DecryptMessage( 1477ProtocolToken token = SslStreamPal.Renegotiate( 1562SecurityStatusPal status = SslStreamPal.ApplyShutdownToken(_securityContext); 1565throw new IOException(SR.net_io_encrypt, SslStreamPal.GetException(status)); 1577token = SslStreamPal.AcceptSecurityContext( 1587token = SslStreamPal.InitializeSecurityContext( 1793token = SslStreamPal.AcceptSecurityContext( 1803token = SslStreamPal.InitializeSecurityContext( 1823SslStreamPal.QueryContextConnectionInfo(_securityContext!, ref _connectionInfo); 1824SslStreamPal.QueryContextStreamSizes(_securityContext!, out StreamSizes streamSizes); 1957SafeFreeCredentials? acquired = SslStreamPal.AcquireCredentialsHandle(_options, false); 1981token = SslStreamPal.AcceptSecurityContext( 1991token = SslStreamPal.InitializeSecurityContext(