22 references to SslStreamPal
System.Net.Security (22)
System\Net\Security\SslStream.IO.cs (5)
244throw SslStreamPal.GetException(token.Status); 655return ValueTask.FromException(ExceptionDispatchInfo.SetCurrentStackTrace(new IOException(SR.net_io_encrypt, SslStreamPal.GetException(token.Status)))); 690throw new IOException(SR.net_io_encrypt, SslStreamPal.GetException(token.Status)); 901throw new IOException(SR.net_io_decrypt, SslStreamPal.GetException(status)); 964if (buffer.Length == 0 && !SslStreamPal.CanEncryptEmptyMessage)
System\Net\Security\SslStream.Protocol.cs (17)
131result = SslStreamPal.QueryContextChannelBinding(_securityContext, kind); 586if (SslStreamPal.TryUpdateClintCertificate(_credentialsHandle, _securityContext, _sslAuthenticationOptions)) 615SslStreamPal.StartMutualAuthAsAnonymous) 770SafeFreeCredentials? cred = SslStreamPal.AcquireCredentialsHandle(sslAuthenticationOptions, newCredentialsRequested); 876token = SslStreamPal.AcceptSecurityContext( 884token.Status = SslStreamPal.SelectApplicationProtocol( 892token = SslStreamPal.AcceptSecurityContext( 904token = SslStreamPal.InitializeSecurityContext( 920token = SslStreamPal.InitializeSecurityContext( 967return SslStreamPal.Renegotiate( 982SslStreamPal.QueryContextStreamSizes(_securityContext!, out StreamSizes streamSizes); 989SslStreamPal.QueryContextConnectionInfo(_securityContext!, ref _connectionInfo); 1004ProtocolToken token = SslStreamPal.EncryptMessage( 1020SecurityStatusPal status = SslStreamPal.DecryptMessage(_securityContext!, buffer, out outputOffset, out outputCount); 1182status = SslStreamPal.ApplyAlertToken(_securityContext, TlsAlertType.Fatal, alertMessage); 1201status = SslStreamPal.ApplyShutdownToken(_securityContext!); 1416return Done ? null : SslStreamPal.GetException(Status);