A Quick REST API Solution to Certify a PDF Document

Share on FacebookTweet about this on TwitterShare on LinkedIn

Hello Guys! We’re back with another important release of Aspose.PDF Cloud REST API release, 19.8. In this blog post, I’ll get you familiar with the brand new features introduced in the new release.

This release includes a number of useful features to expand the API usage. Some of the important features, from the list, are support to certify a PDF Document and conversion of Markdown file format to PDF document. In subsequent sections, I will give you and overview of these exciting features. You can check the release notes for the new version to get a complete list of new features and fixes.

How to Certify PDF Document?

You would be wondering what is the difference between signing and certifying PDF document? And why should you certify a document?

Signing a PDF document or form means that you approved the document contents and requested changes. However, when you certify a PDF document or form it ensures its integrity and authenticity. You allow recipients to make only specific changes in published PDF document or form. For example, in the case of PDF forms, you can specify that the recipient can fill in the form fields without invalidating the document. However, if a user tries to add or remove a form field or a page, the certification will be invalidated.

With this release, we took working with PDF Documents and Forms to the next level, by introducing the Certify API. A new parameter docMdpAccessPermissionType will be used to grant access permissions for the PDF. Currently, following access types can be granted:

  • NoChanges
  • FillingInForms
  • AnnotationModification

Let me show how it works. For example, there is a scenario when you want to share some company policy document and do not allow recipients to modify it. You can certify the document and set docMdpAccessPermissionType parameter to NoChanges, so user cannot modify it otherwise certification will be invalided.

Here we, go, check the sample code:

Have you noticed? I have shared C# code snippet example. However, if you are working in some other programming language, no need to worry. We have SDKs for all popular programming languages and you can pick SDK of your choice.

Convert Markdown to PDF with Python

You came across Markdown files in your daily working and its usage is increasing day by day, because it is a lightweight markup language with plain text formatting syntax and easy to maintain. However, there are scenarios when you need to convert it to some fix file format. We have provided Markdown to PDF Conversion feature in Aspose.PDF Cloud REST API to cope with the requirements.

We have introduced following two APIs for the conversion:

GET /pdf/create/markdown

Convert Markdown file to PDF document from storage and return resulting file in response

POST /pdf/{name}/create/markdown

Convert Markdown file to PDF document from storage and save resulting file to storage

Let me give you a quick demonstration of Markdown to PDF conversion using Aspose.PDF Cloud SDK for Python. You may check available SDKs and use the SDK of your choice to include the PDF document processing feature in your application without worrying about underlying API calls.

Tell Us What You Think

We would love you to hear from you, what you think about Aspose.PDF Cloud REST API? If you’ve any suggestions or if you need any particular features which you expect our REST API to have, please feel free to drop us a comment below or at the support forum.

If you’ve not already tried our REST API, we encourage you to head over to Aspose.PDF Cloud with a free trial today. All you need is to sign up with the aspose.cloud  Once you’ve signed up, you may go through the following useful resources of Aspose.PDF Cloud.