Example of sign_doc client server side sofware