Metadata signature is a convenient way to sign documents using metadata properties. In GroupDocs.Signature for .NET 18.9, we introduced the feature of signing the PDF documents using various metadata properties including:
You can set all or some of the above-mentioned properties while signing the documents. Since these are the built-in properties, you can only add/update their value.
There could be a situation when the built-in metadata properties may not fulfill your requirements and you may want to use your own set of properties to add metadata signatures. In this case, there should be some way to define and use custom objects as metadata signatures. Well, I am pleased to tell you that this is now possible using the latest version of GroupDocs.Signature for .NET.
Since version 19.4, we have added the feature of signing PDF documents using custom metadata objects. You can define the custom classes that may contain the data members of your choice. You can then use the objects of these classes for the metadata signatures. The following is an example of the custom class.
The following code snippet shows how to use the custom class to add the metadata signature.
Well, this is not enough and I have something more interesting for you. The values of these custom metadata properties appear as plain text and they can easily be accessed and understood by anyone.
To avoid any unauthorized usage of the metadata values, we have introduced a mechanism of encryption/decryption. For this, we have added DataEncryption property to PdfMetadataSignature class and this is how you can apply encryption to the custom metadata objects:
This is surely a valuable addition to the API features which can give you more control over the metadata signature. So why not download the latest version and integrate this feature in your e-signing application?
In case you would have any queries or suggestions, let’s have a conversation over our forum.