public void TestPostSignPage()
        {
            PdfApi target = new PdfApi(APIKEY, APPSID, BASEPATH);
            StorageApi storageApi = new StorageApi(APIKEY, APPSID, BASEPATH);

            string name = "sample-input.pdf";
            int? pageNumber = 1;
            string storage = null;
            string folder = null;

            Com.Aspose.PDF.Model.Signature body = new Com.Aspose.PDF.Model.Signature();
            body.Authority = "Authority";
            body.Contact = "*****@*****.**";
            body.Date = "1-1-2016";
            body.FormFieldName = "Signature1";
            body.Location = "Faisalabad";
            body.Password = "******";
            Com.Aspose.PDF.Model.Rectangle rect = new Com.Aspose.PDF.Model.Rectangle();
            rect.X = 100;
            rect.Y = 100;
            rect.Height = 100;
            rect.Width = 200;
            body.Rectangle = rect;
            body.SignaturePath = "pkc7-sample.pfx";
            body.SignatureType = "PKCS7";
            body.Visible = true;

            storageApi.PutCreate(name, null, null, System.IO.File.ReadAllBytes("\\temp\\pdf\\resources\\" + name));
            storageApi.PutCreate(body.SignaturePath, null, null, System.IO.File.ReadAllBytes("\\temp\\pdf\\resources\\" + body.SignaturePath));

            Com.Aspose.PDF.Model.SaaSposeResponse actual;
            actual = target.PostSignPage(name, pageNumber, storage, folder, body);

            Assert.AreEqual("200", actual.Code);
            Assert.IsInstanceOfType(new Com.Aspose.PDF.Model.SaaSposeResponse(), actual.GetType());
        }