26 references to SslStreamPal
System.Net.Security (26)
System\Net\Security\SslStream.IO.cs (6)
227throw SslStreamPal.GetException(token.Status); 621if (!SslStreamPal.CertValidationInCallback) 725return ValueTask.FromException(ExceptionDispatchInfo.SetCurrentStackTrace(new IOException(SR.net_io_encrypt, SslStreamPal.GetException(token.Status)))); 760throw new IOException(SR.net_io_encrypt, SslStreamPal.GetException(token.Status)); 947throw new IOException(SR.net_io_decrypt, SslStreamPal.GetException(status)); 1019if (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); 848token = SslStreamPal.AcceptSecurityContext( 856token.Status = SslStreamPal.SelectApplicationProtocol( 864token = SslStreamPal.AcceptSecurityContext( 876token = SslStreamPal.InitializeSecurityContext( 892token = SslStreamPal.InitializeSecurityContext( 970return SslStreamPal.Renegotiate( 985SslStreamPal.QueryContextStreamSizes(_securityContext!, out StreamSizes streamSizes); 992SslStreamPal.QueryContextConnectionInfo(_securityContext!, ref _connectionInfo); 1019ProtocolToken token = SslStreamPal.EncryptMessage( 1050status = SslStreamPal.DecryptMessage( 1252SslStreamPal.QueryContextConnectionInfo(_securityContext, ref _connectionInfo); 1276if (SslStreamPal.CanGenerateCustomAlertsForContext(_securityContext) && !SslStreamPal.CertValidationInCallback) 1317status = SslStreamPal.ApplyAlertToken(_securityContext, TlsAlertType.Fatal, alertMessage); 1347status = SslStreamPal.ApplyShutdownToken(_securityContext!); 1563return Done ? null : SslStreamPal.GetException(Status);