Resonant Ion Acceleration by Oblique Magnetosonic Shock Wave in a Collisionless Plasma