Any person subject to this chapter who, with intent to defraud—
(1)
falsely makes or alters any signature to, or any part of, any writing which would, if genuine, apparently impose a legal liability on another or change his legal right or liability to his prejudice; or
(2)
utters, offers, issues, or transfers such a writing, known by him to be so made or altered;
is guilty of forgery and shall be punished as a court-martial may direct.