Signpayload

Signs a binary payload and returns a signature envelope.