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)) 587SslStreamPal.StartMutualAuthAsAnonymous) 742SafeFreeCredentials? cred = SslStreamPal.AcquireCredentialsHandle(sslAuthenticationOptions, newCredentialsRequested); 859token = SslStreamPal.AcceptSecurityContext( 867token.Status = SslStreamPal.SelectApplicationProtocol( 875token = SslStreamPal.AcceptSecurityContext( 887token = SslStreamPal.InitializeSecurityContext( 903token = SslStreamPal.InitializeSecurityContext( 982return SslStreamPal.Renegotiate( 997SslStreamPal.QueryContextStreamSizes(_securityContext!, out StreamSizes streamSizes); 1004SslStreamPal.QueryContextConnectionInfo(_securityContext!, ref _connectionInfo); 1031ProtocolToken token = SslStreamPal.EncryptMessage( 1062status = SslStreamPal.DecryptMessage( 1294SslStreamPal.QueryContextConnectionInfo(securityContext, ref connectionInfo); 1318if (SslStreamPal.CanGenerateCustomAlertsForContext(securityContext) && !SslStreamPal.CertValidationInCallback && sender is SslStream sslStream) 1359status = SslStreamPal.ApplyAlertToken(_securityContext, TlsAlertType.Fatal, alertMessage); 1389status = SslStreamPal.ApplyShutdownToken(_securityContext!); 1605return Done ? null : SslStreamPal.GetException(Status);
System\Net\Security\SslStream.TlsSessionWedge.cs (1)
83token.Status = SslStreamPal.SelectApplicationProtocol(
System\Net\Security\TlsSession.cs (25)
673_sessionCredentialsHandle = SslStreamPal.AcquireCredentialsHandle(_options, false); 711_sessionCredentialsHandle = SslStreamPal.AcquireCredentialsHandle(_options, false); 809return SslStreamPal.QueryContextChannelBinding(_securityContext, kind); 969token = SslStreamPal.AcceptSecurityContext( 981token = SslStreamPal.InitializeSecurityContext( 1013SecurityStatusPal selStatus = SslStreamPal.SelectApplicationProtocol( 1028token = SslStreamPal.AcceptSecurityContext( 1038token = SslStreamPal.InitializeSecurityContext( 1174ProtocolToken token = SslStreamPal.EncryptMessage( 1184throw new IOException(SR.net_io_encrypt, SslStreamPal.GetException(token.Status)); 1261SecurityStatusPal status = SslStreamPal.DecryptMessage( 1319throw new IOException(SR.net_io_decrypt, SslStreamPal.GetException(status)); 1340SecurityStatusPal status = SslStreamPal.DecryptMessage( 1422ProtocolToken token = SslStreamPal.Renegotiate( 1479SecurityStatusPal status = SslStreamPal.ApplyShutdownToken(_securityContext); 1482throw new IOException(SR.net_io_encrypt, SslStreamPal.GetException(status)); 1494token = SslStreamPal.AcceptSecurityContext( 1504token = SslStreamPal.InitializeSecurityContext( 1710token = SslStreamPal.AcceptSecurityContext( 1720token = SslStreamPal.InitializeSecurityContext( 1740SslStreamPal.QueryContextConnectionInfo(_securityContext!, ref _connectionInfo); 1741SslStreamPal.QueryContextStreamSizes(_securityContext!, out StreamSizes streamSizes); 1830SafeFreeCredentials? acquired = SslStreamPal.AcquireCredentialsHandle(_options, false); 1854token = SslStreamPal.AcceptSecurityContext( 1864token = SslStreamPal.InitializeSecurityContext(