GroupDocs.Signature for Java is a popular API for digital documents e-signing. Signatures like texts, images, digital certificates, barcodes, QR-codes, stamps or metadata are available. Signatures might be placed on PDFs, MS Word documents, MS Excel workbooks, MS PowerPoint presentations, Adobe Photoshop files and various image formats. Customers can sign their document and update, search, verify, delete or preview e-signatures which were put on those documents. Moreover, a lot of abilities for signatures customization are provided.
GroupDocs.Signature for Java provides ability to sign Rtf documents with Metadata signatures quickly and easily.
GroupDocs.Signature for Java are supported on all major platforms and operating systems. Before executing the code below, please make sure that you have the following prerequisites installed on your system.
// Set up input Rtf file
String filePath = "input.rtf";
// Set up output file
String outputFilePath = "output.rtf";
// Instantiate Signature for input file
Signature signature = new Signature(filePath);
// instantiate metadata signing options
MetadataSignOptions options = new MetadataSignOptions();
// setup Author property
WordProcessingMetadataSignature mdSign_Author = new WordProcessingMetadataSignature("Author", "Mr.Scherlock Holmes");// String value
options.getSignatures().add(mdSign_Author);
// setup document data
WordProcessingMetadataSignature mdSign_DocData = new WordProcessingMetadataSignature("CreatedOn", new Date());// Datetime value
options.getSignatures().add(mdSign_DocData);
// setup document id
WordProcessingMetadataSignature mdSign_DocId = new WordProcessingMetadataSignature("DocumentId", 123456);// Integer value
options.getSignatures().add(mdSign_DocId);
// sign Rtf document
SignResult result = signature.sign(outputFilePath, options);
Sign Rtf file with various signatures right now by visiting the GroupDocs.Signature App website. Free online demo waiting for you.
No need to download API
No need to write any code
Just upload the source file
Get download link to save the file
“You can also sign Rtf with other signature types. Please see the list below.”
(Portable Document Format)
(Microsoft Word Binary Format)
(Office 2007+ Word Document)
(Microsoft Word 2007 Marco File)
(Microsoft Word Template Files)
(Microsoft Word 2007+ Template File)
(Microsoft Word Template File )
(OpenDocument Text File Format)
(OpenDocument Standard Format)
(Microsoft Excel Spreadsheet (Legacy))
(Open XML Workbook)
(Macro-enabled Spreadsheet)
(Excel Binary Workbook)
(Comma Seperated Values)
(OpenDocument Spreadsheet)
(OpenDocument Spreadsheet Template)
(Excel Template)
(Excel Macro-Enabled Template)
(Microsoft PowerPoint 97-2003)
(Open XML presentation Format)
(PowerPoint Slide Show)
(PowerPoint Slide Show)
(OpenDocument Presentation Format)
(OpenDocument Standard Format)
(Microsoft PowerPoint Template Presentation)
(Microsoft PowerPoint Template File)
(Macro-enabled Presentation File)
(Macro-enabled Slide Show)
(Portable Network Graphic)
(Joint Photographic Expert Group Image)
(Bitmap Image File)
(Graphical Interchange Format)
(Tagged Image File Format)
(Scalar Vector Graphics)
(Raster Web Image Format)
(Windows Metafile)