Subdifferential Characterization of Convexity