* Mono.Security.Interface.IMonoSslStream: removed Flush().
* Mono.Net.Security.MobileAuthenticatedStream: Flush() now calls `InnerStream.Flush ()'.
* System.Net.Security.SslStream: Flush() now calls `InnerStream.Flush ()'.
* System.Net.Security.SslStream: fix `CanRead`, `CanWrite` and `CanTimeout` logic.
Task AuthenticateAsServerAsync (X509Certificate serverCertificate, bool clientCertificateRequired, SSA.SslProtocols enabledSslProtocols, bool checkCertificateRevocation);
Task AuthenticateAsServerAsync (X509Certificate serverCertificate, bool clientCertificateRequired, SSA.SslProtocols enabledSslProtocols, bool checkCertificateRevocation);
int Read (byte[] buffer, int offset, int count);
void Write (byte[] buffer);
int Read (byte[] buffer, int offset, int count);
void Write (byte[] buffer);
public override void Flush ()
{
public override void Flush ()
{
- // Write() automatically flushes the underlying stream.
}
public SslProtocols SslProtocol {
}
public SslProtocols SslProtocol {
}
public override bool CanRead {
}
public override bool CanRead {
- get { return Impl.CanRead; }
+ get { return impl != null && impl.CanRead; }
}
public override bool CanTimeout {
}
public override bool CanTimeout {
- get { return Impl.CanTimeout; }
+ get { return InnerStream.CanTimeout; }
}
public override bool CanWrite {
}
public override bool CanWrite {
- get { return Impl.CanWrite; }
+ get { return impl != null && impl.CanWrite; }
}
public override int ReadTimeout {
}
public override int ReadTimeout {
public override void Flush ()
{
public override void Flush ()
{