Development of the Super High Angular Resolution Principle (SHARP) for coded-mask X-ray imaging is presented. We prove that SHARP can be considered as a generalized coded mask imaging method with a coding pattern comprised of diffraction-interference fringes in the mask pattern. The angular resolution of SHARP can be improved by detecting the fringes more precisely than the mask's element size, i.e. by using a detector with a pixel size smaller than the mask's element size. The proposed mission SHARP-X for solar X-ray observations is also briefly discussed.