Example #1
0
			public SyncServerTests(TestServer testServer) {
				this.testServer = testServer;
			}
Example #2
0
			public AsyncServerTests(TestServer testServer) {
				this.testServer = testServer;
				// Initialize certificate callbacks (only used for Advanced test)
				clientRemoteCertificateValidationCallback = new RemoteCertificateValidationHandler(ValidateRemoteCert);
				clientLocalCertificateSelectionCallback = new LocalCertificateSelectionHandler(clientCertificateSelectionCallback);
				serverRemoteCertificateValidationCallback = new RemoteCertificateValidationHandler(ValidateRemoteCert);
			}