52 references to SslStreamPal
System.Net.Security (52)
System\Net\Security\SslStream.IO.cs (6)
227throw SslStreamPal.GetException(token.Status); 651if (!SslStreamPal.CertValidationInCallback) 754return ValueTask.FromException(ExceptionDispatchInfo.SetCurrentStackTrace(new IOException(SR.net_io_encrypt, SslStreamPal.GetException(token.Status)))); 789throw new IOException(SR.net_io_encrypt, SslStreamPal.GetException(token.Status)); 976throw new IOException(SR.net_io_decrypt, SslStreamPal.GetException(status)); 1048if (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( 1303SslStreamPal.QueryContextConnectionInfo(securityContext, ref connectionInfo); 1327if (SslStreamPal.CanGenerateCustomAlertsForContext(securityContext) && !SslStreamPal.CertValidationInCallback && sender is SslStream sslStream) 1368status = SslStreamPal.ApplyAlertToken(_securityContext, TlsAlertType.Fatal, alertMessage); 1398status = SslStreamPal.ApplyShutdownToken(_securityContext!); 1614return Done ? null : SslStreamPal.GetException(Status);
System\Net\Security\SslStream.TlsSessionWedge.cs (1)
83token.Status = SslStreamPal.SelectApplicationProtocol(
System\Net\Security\TlsSession.cs (25)
679_sessionCredentialsHandle = SslStreamPal.AcquireCredentialsHandle(_options, false); 717_sessionCredentialsHandle = SslStreamPal.AcquireCredentialsHandle(_options, false); 815return SslStreamPal.QueryContextChannelBinding(_securityContext, kind); 975token = SslStreamPal.AcceptSecurityContext( 987token = SslStreamPal.InitializeSecurityContext( 1019SecurityStatusPal selStatus = SslStreamPal.SelectApplicationProtocol( 1034token = SslStreamPal.AcceptSecurityContext( 1044token = SslStreamPal.InitializeSecurityContext( 1180ProtocolToken token = SslStreamPal.EncryptMessage( 1190throw new IOException(SR.net_io_encrypt, SslStreamPal.GetException(token.Status)); 1267SecurityStatusPal status = SslStreamPal.DecryptMessage( 1325throw new IOException(SR.net_io_decrypt, SslStreamPal.GetException(status)); 1346SecurityStatusPal status = SslStreamPal.DecryptMessage( 1428ProtocolToken token = SslStreamPal.Renegotiate( 1485SecurityStatusPal status = SslStreamPal.ApplyShutdownToken(_securityContext); 1488throw new IOException(SR.net_io_encrypt, SslStreamPal.GetException(status)); 1500token = SslStreamPal.AcceptSecurityContext( 1510token = SslStreamPal.InitializeSecurityContext( 1716token = SslStreamPal.AcceptSecurityContext( 1726token = SslStreamPal.InitializeSecurityContext( 1746SslStreamPal.QueryContextConnectionInfo(_securityContext!, ref _connectionInfo); 1747SslStreamPal.QueryContextStreamSizes(_securityContext!, out StreamSizes streamSizes); 1836SafeFreeCredentials? acquired = SslStreamPal.AcquireCredentialsHandle(_options, false); 1860token = SslStreamPal.AcceptSecurityContext( 1870token = SslStreamPal.InitializeSecurityContext(