eSign TXT Formats in C++
Native and high performance TXT document electronic signature using server-side Aspose.Words for C++ APIs, without the use of any software like Microsoft or Open Office, Adobe PDF.
How to Digitally Sign TXT File Using C++
In order to electronically sign TXT file, we’ll use
API which is a feature-rich, powerful and easy to use document manipulation and digital signature API for C++ platform. You can download its latest version directly, just open
package manager, search for Aspose.Words.Cpp and install. You may also use the following command from the Package Manager Console.
PM> Install-Package Aspose.Words.Cpp
Steps for e-Signing TXT Files in C++
A basic document digital signature with
APIs can be done with just few lines of code. One can add electronic signature as drawing, text and images to multiple files. Moreover, eSigned documents can be saved as PDF, JPEG, HTML, OpenOffice and other formats.
- Create signature using CertificateHolder
- Use DigitalSignatureUtil Sign (…) method for electronically signing
Aspose.Words for C++ supports on all major platforms and Operating Systems. Please make sure that you have the following prerequisites.
- Microsoft Windows or a compatible OS with C++ Runtime Environment for Windows 32 bit, Windows 64 bit and Linux 64 bit.
- Aspose.Words for C++ DLL referenced in your project.
e-Sign TXT Files - C++
System::SharedPtr<CertificateHolder> certHolder = CertificateHolder::Create(inputDataDir + u"signature.pfx", u"signature"); System::String outputPath = outputDataDir + u"SigningSignatureLine.SimpleDocumentSigning_out.txt"; DigitalSignatureUtil::Sign(inputDataDir + u"Document.Signed.txt", outputPath, certHolder);
About Aspose.Words for C++ APIAspose.Words API can be used to load, view and convert Microsoft Word and OpenDocument Formats like DOC, DOCX, ODT to PDF, XPS, HTML and various other formats. You can also create new documents from scratch and save them in the supported formats. Aspose.Words is a standalone API that is suitable for server side and backend systems where high performance is required. It does not depend on any software like Microsoft or OpenOffice.
Online TXT eSignature Live Demos
Other Supported Electronic Signature Formats
Using C++, One can digitally sign easily of many other formats including