Imported Upstream version 5.2.0.175

Former-commit-id: bb0468d0f257ff100aa895eb5fe583fb5dfbf900
This commit is contained in:
Xamarin Public Jenkins (auto-signing)
2017-06-07 13:16:24 +00:00
parent 4bdbaf4a88
commit 966bba02bb
8776 changed files with 346420 additions and 149650 deletions

View File

@ -40,7 +40,6 @@ using CipherAlgorithmType = System.Security.Authentication.CipherAlgorithmType;
using HashAlgorithmType = System.Security.Authentication.HashAlgorithmType;
using ExchangeAlgorithmType = System.Security.Authentication.ExchangeAlgorithmType;
using System;
using System.IO;
using System.Net;
using System.Net.Security;
@ -49,7 +48,6 @@ using System.Security.Cryptography.X509Certificates;
using System.Security.Permissions;
using System.Security.Principal;
using System.Security.Cryptography;
using System.Threading.Tasks;
using MNS = Mono.Net.Security;
@ -402,10 +400,81 @@ namespace System.Net.Security
}
}
#else // !SECURITY_DEP
using System.IO;
using System.Threading.Tasks;
namespace System.Net.Security
{
public class SslStream
public class SslStream : Stream
{
public SslStream (object innerStream)
{
}
public override bool CanRead {
get {
throw new NotImplementedException ();
}
}
public override bool CanSeek {
get {
throw new NotImplementedException ();
}
}
public override bool CanWrite {
get {
throw new NotImplementedException ();
}
}
public override long Length {
get {
throw new NotImplementedException ();
}
}
public override long Position {
get {
throw new NotImplementedException ();
}
set {
throw new NotImplementedException ();
}
}
public override void Flush ()
{
throw new NotImplementedException ();
}
public override int Read (System.Byte [] buffer, int offset, int count)
{
throw new NotImplementedException ();
}
public override long Seek (long offset, SeekOrigin origin)
{
throw new NotImplementedException ();
}
public override void SetLength (long value)
{
throw new NotImplementedException ();
}
public override void Write (System.Byte [] buffer, int offset, int count)
{
throw new NotImplementedException ();
}
public virtual Task AuthenticateAsClientAsync (string targetHost, object clientCertificates, object enabledSslProtocols, bool checkCertificateRevocation)
{
throw new NotImplementedException ();
}
}
}
#endif