internal static RemoteCertValidationCallback CreateAdapter(ServicePoint serviePoint, TlsStream secureStream, Object request) { HandshakeDoneProcedure adapter = new HandshakeDoneProcedure(serviePoint, secureStream, request); return new RemoteCertValidationCallback(adapter.CertValidationCallback); }
internal RemoteCertValidationCallback SetupHandshakeDoneProcedure(TlsStream secureStream, object request) { return(HandshakeDoneProcedure.CreateAdapter(this, secureStream, request)); }