Sign PDF Documents

Introduction

This example allows you to sign PDF documents using Aspose.Pdf for Cloud API in your applications. You can use our REST API with any language: .NET, Java, PHP, Ruby, Rails, Python, jQuery and many more.

Resource

The following Aspose.Pdf for Cloud REST API resource has been used in the examples: PostSignDocument.

Parameter Required Description Type
name true The document name. String
signature true

Signature object containing signature data. Example can be

{
'SignaturePath’:‘test1234.pfx’,
'SignatureType’:‘PKCS7’,
'Password’: ‘aspose’,
'Appearance’:‘string’,
'Reason’:‘test’,
'Contact’:‘test’,
'Location’:‘test’,
'Visible’:true,
'Rectangle’:{
'LLX’:100,
'LLY’:100,
'URX’:100,
'URY’:100
},
'FormFieldName’:‘Signature1’,
'Authority’:‘Aspose Developer’,
'Date’:‘06/20/2017 2:00:00.000 AM’,
'ShowProperties’:true
}

JSON

cURL Example

SDK Source

The Aspose for Cloud SDKs can be downloaded from the following page: Available SDKs

SDK Examples

Sign PDF Documents