public static ClientCertificateParameters GetDefaultParameters()
        {
            var defaultParameters = new ClientCertificateParameters();

            defaultParameters.EnsureDefaultValues();
            return(defaultParameters);
        }
		public async void HelloClient ()
		{
			RequireMonoClient ();

			var certParams = new ClientCertificateParameters ();
			certParams.SignatureAndHashAlgorithms.Add (new SignatureAndHashAlgorithm (HashAlgorithmType.Sha512, SignatureAlgorithmType.Rsa));
			certParams.EnsureDefaultValues ();

			var parameters = new MonoClientAndServerParameters {
				RequireClientCertificate = true, ClientCertificate = ResourceManager.MonkeyCertificate,
				TrustedCA = ResourceManager.LocalCACertificate, VerifyPeerCertificate = true,
				ClientCertificateParameters = certParams
			};

			parameters.ClientInstrumentation.Add (NegotiationState.ServerHello, c => new ServerHelloHandler (c));

			await Run (parameters);
		}
		public static ClientCertificateParameters GetDefaultParameters ()
		{
			var defaultParameters = new ClientCertificateParameters ();
			defaultParameters.EnsureDefaultValues ();
			return defaultParameters;
		}