Exemplo n.º 1
0
		public DotNetSslStreamImpl (
			Stream innerStream, bool leaveInnerStreamOpen, DotNetTlsProvider provider,
			RemoteCertificateValidationCallback userCertificateValidationCallback,
			LocalCertificateSelectionCallback userCertificateSelectionCallback)
		{
			this.provider = provider;
			impl = new SslStream (
				innerStream, leaveInnerStreamOpen,
				userCertificateValidationCallback,
				userCertificateSelectionCallback);
		}
Exemplo n.º 2
0
 public DotNetSslStreamImpl(
     Stream innerStream, bool leaveInnerStreamOpen, DotNetTlsProvider provider,
     RemoteCertificateValidationCallback userCertificateValidationCallback,
     LocalCertificateSelectionCallback userCertificateSelectionCallback)
 {
     this.provider = provider;
     impl          = new SslStream(
         innerStream, leaveInnerStreamOpen,
         userCertificateValidationCallback,
         userCertificateSelectionCallback);
 }