You can find a detailed description of the signature method here