Beispiel #1
0
		public override MonoSslStream CreateSslStream (
			Stream innerStream, bool leaveInnerStreamOpen,
			MonoTlsSettings settings = null)
		{
			var impl = new LegacySslStream (innerStream, leaveInnerStreamOpen, this, settings);
			return new MonoSslStreamImpl (impl);
		}
Beispiel #2
0
        public override IMonoSslStream CreateSslStream(
            Stream innerStream, bool leaveInnerStreamOpen,
            MonoTlsSettings settings = null)
        {
            var impl = new MNS.LegacySslStream(innerStream, leaveInnerStreamOpen, this, settings);

            return(new MNS.MonoSslStreamImpl(impl));
        }