26 references to SslStreamPal
System.Net.Security (26)
System\Net\Security\SslStream.IO.cs (6)
245throw SslStreamPal.GetException(token.Status); 620if (!SslStreamPal.CertValidationInCallback) 724return ValueTask.FromException(ExceptionDispatchInfo.SetCurrentStackTrace(new IOException(SR.net_io_encrypt, SslStreamPal.GetException(token.Status)))); 759throw new IOException(SR.net_io_encrypt, SslStreamPal.GetException(token.Status)); 978throw new IOException(SR.net_io_decrypt, SslStreamPal.GetException(status)); 1041if (buffer.Length == 0 && !SslStreamPal.CanEncryptEmptyMessage)
System\Net\Security\SslStream.Protocol.cs (20)
106result = SslStreamPal.QueryContextChannelBinding(_securityContext, kind); 555if (SslStreamPal.TryUpdateClintCertificate(_credentialsHandle, _securityContext, _sslAuthenticationOptions)) 586SslStreamPal.StartMutualAuthAsAnonymous) 741SafeFreeCredentials? cred = SslStreamPal.AcquireCredentialsHandle(sslAuthenticationOptions, newCredentialsRequested); 847token = SslStreamPal.AcceptSecurityContext( 855token.Status = SslStreamPal.SelectApplicationProtocol( 863token = SslStreamPal.AcceptSecurityContext( 875token = SslStreamPal.InitializeSecurityContext( 891token = SslStreamPal.InitializeSecurityContext( 940return SslStreamPal.Renegotiate( 955SslStreamPal.QueryContextStreamSizes(_securityContext!, out StreamSizes streamSizes); 962SslStreamPal.QueryContextConnectionInfo(_securityContext!, ref _connectionInfo); 977ProtocolToken token = SslStreamPal.EncryptMessage( 993SecurityStatusPal status = SslStreamPal.DecryptMessage(_securityContext!, buffer, out outputOffset, out outputCount); 1152SslStreamPal.QueryContextConnectionInfo(_securityContext, ref _connectionInfo); 1176if (SslStreamPal.CanGenerateCustomAlerts && !SslStreamPal.CertValidationInCallback) 1217status = SslStreamPal.ApplyAlertToken(_securityContext, TlsAlertType.Fatal, alertMessage); 1236status = SslStreamPal.ApplyShutdownToken(_securityContext!); 1452return Done ? null : SslStreamPal.GetException(Status);