This will explain step by step not only how to set up for a signature but in doing so also prepares your apex for access from the outside world. ie Iphone, hotel rooms... anywhere off your own network.
Neptune Apex Programming - Generating a Signature with Live Apex Info
Neptune Apex Programming - Generating a Signature with Live Apex Info