We present a hard X-ray observation of the TeV gamma-ray binary candidate HESSJ1832−093, which is coincident with the supernova remnant G22.7−0.2,using the Nuclear Spectroscopic Telescope Array. Nonthermal X-ray emission from XMMUJ183245−0921539, the X-ray source associated with HESSJ1832−093, is detected up to ∼30keV and is well-described by an absorbed power-law model with a best-fit photon indexA re-analysis of archival Chandra and XMM-Newton data finds that the long-term X-ray flux increase of XMMUJ183245−0921539 is 50 % 20 40 -+ (90% C.L.), much less than previously reported. A search for a pulsar spin period or binary orbit modulation yields no significant signal to a pulse fraction limit of f 19% p < in the range 4ms P 40 < < ks. No red noise is detected in the FFT power spectrum to suggest active accretion from a binary system. While further evidence is required, we argue that the X-ray and gamma-ray properties of XMMUJ183245−0921539 are most consistent with a non-accreting binary generating synchrotron X-rays from particle acceleration in the shock formed as a result of the pulsar and stellar wind collision. We also report on three nearby hard X-ray sources, one of which may be associated with diffuse emission from a fast-moving supernova fragment interacting with a dense molecular cloud.