Beispiel #1
0
        public void SetVerifyCallback(MonoBtlsVerifyCallback callback, bool client_cert_required)
        {
            CheckThrow();

            verifyCallback = callback;
            mono_btls_ssl_ctx_set_cert_verify_callback(
                Handle.DangerousGetHandle(), verifyFuncPtr,
                client_cert_required ? 1 : 0);
        }
Beispiel #2
0
		public void SetVerifyCallback (MonoBtlsVerifyCallback callback, bool client_cert_required)
		{
			CheckThrow ();

			verifyCallback = callback;
			mono_btls_ssl_ctx_set_cert_verify_callback (
				Handle.DangerousGetHandle (), verifyFuncPtr,
				client_cert_required ? 1 : 0);
		}