Search Digital Signature in CDR via Java

Java eSignature API to search & validate digital signatures in a CDR file. Manipulate Image, Barcode, QR-Code, Stamp, Text, Optical & Metadata signatures from digitally signed documents.


Download Free Trial

About GroupDocs.Signature for Java API

GroupDocs.Signature for Java is an advanced Java eSignature library to digitally sign documents using various signature signature types such as text, image, barcode, stamp, form-field, QR-code and metadata. By adding just a few lines of code, empower your Java applications with features to view, create, edit, validate, remove and find digital signatures within PDF, Microsoft Word, Excel worksheets, PowerPoint presentations, Adobe Photoshop, metafiles and image file formats. The e-signature API also supports additional features to customize signature properties as per requirements.

How to Search Digital Signatures from CDR

Below Java code example clearly demonstrates the steps to search for digital signatures within a CDR file in Java by adding just a few lines of code.

  • Create new instance of Signature class and pass source document path as a constructor parameter.
  • Instantiate the DigitalSearchOptions object according to your requirements and specify search options.
  • Call search method of Signature class instance and pass DigitalSearchOptions to it.

System Requirements

GroupDocs.Signature for Java APIs 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.

  • Operating Systems: Microsoft Windows, Linux, MacOS
  • Development Environments: Visual Studio, Xamarin, MonoDevelop
  • Frameworks: .NET Framework, .NET Standard, .NET Core, Mono
  • Download the latest version of GroupDocs.Signature for Java from NuGet

Signature signature = new Signature("signed.pdf");
DigitalSearchOptions options = new DigitalSearchOptions();
// specify special search criteria
options.setComments("Test comment");
// certificate issues criteria
options.setIssuerName("John");
// digital certificate subject
options.setSubjectName("Test");
// specify date range period of signature
options.setSignDateTimeFrom(DateUtils.addMonths(new Date(), -1));
options.setSignDateTimeTo(new Date());
 
// search for signatures in document
List signatures = signature.search(DigitalSignature.class, options);
System.out.print("\nSource document contains following signatures.");
for (DigitalSignature digitalSignature : signatures)
{
    System.out.print("Digital signature found from "+digitalSignature.getSignTime()+" with validation flag "+digitalSignature.isValid()+". Certificate SN "+ digitalSignature.getCertificate().getType());
}

Search CDR Signature Live Demos

Add CDR file electronic signatures right now by visiting GroupDocs.Signature Live Demos website. The live demo has the following benefits

No need to download API

No need to write any code

Just upload the source file

Get download link to save the file

What is CDR File Format

A CDR file is a vector drawing image file that is natively created with CorelDRAW for storing digital image encoded and compressed. Such a drawing file contains text, lines, shapes, images, colours and effects for vector representation of image contents. CDR files can be opened with CorelDRAW as the primary application and can also be converted to other formats such as PDF, JPG, PNG, BMP and AI. It can be used for representation of various graphics data like brochures, tabloids, envelopes, and postcards. Besides CorelDRAW, other Corel products such as Corel Paintshop Pro and CorelDRAW Graphics suite can also open the CDR file formats. Learn more about CDR file format

Read More What is CDR File Format

Other Available Options

Multi-format digital signatures searching API for documents and images. Find signatures from within some of the popular file formats as stated below.

Search Signatures in PDF

(Adobe Portable Document Format)

Search Signatures in DOC

(Microsoft Word Document)

Search Signatures in DOCM

(Microsoft Word Macro-Enabled Document)

Search Signatures in DOCX

(Microsoft Word Open XML Document)

Search Signatures in DOT

(Microsoft Word Document Template)

Search Signatures in DOTX

(Word Open XML Document Template)

Search Signatures in DOTM

(Microsoft Word Macro-Enabled Template)

Search Signatures in RTF

(Rich Text Document)

Search Signatures in ODT

(Open Document Text)

Search Signatures in OTT

(OpenDocument Text Template)

Search Signatures in XLS

(Microsoft Excel Binary File Format)

Search Signatures in XLSX

(Microsoft Excel Open XML Spreadsheet)

Search Signatures in XLSM

(Microsoft Excel Macro-Enabled Spreadsheet)

Search Signatures in XLSM

(Microsoft Excel Macro-Enabled Spreadsheet)

Search Signatures in XLSB

(Microsoft Excel Binary Worksheet)

Search Signatures in XLTX

(Microsoft Excel template)

Search Signatures in XLTM

(Microsoft Excel macro-enabled template)

Search Signatures in ODS

(Open Document Spreadsheet)

Search Signatures in OTS

(OpenDocument Spreadsheet Template)

Search Signatures in PPT

(PowerPoint Presentation)

Search Signatures in PPTX

(PowerPoint Open XML Presentation)

Search Signatures in PPS

(Microsoft PowerPoint 97-2003 Slide Show)

Search Signatures in PPSX

(PowerPoint Open XML Slide Show)

Search Signatures in POTM

(Microsoft PowerPoint Macro-Enabled Template)

Search Signatures in POTX

(Microsoft PowerPoint Template)

Search Signatures in PPTM

(Microsoft PowerPoint Presentation)

Search Signatures in ODP

(OpenDocument Presentation)

Search Signatures in OTP

(OpenDocument Presentation Template)

Search Signatures in TIFF

(Tagged Image File Format)

Search Signatures in GIF

(Graphics Interchange Format)

Search Signatures in PNG

(Portable Network Graphic)

Search Signatures in BMP

(Bitmap File Format)

Search Signatures in CDR

(CorelDraw Vector Graphic Drawing)

Search Signatures in SVG

(Scalable Vector Graphics)

Search Signatures in PSD

(Adobe Photoshop Document)

Search Signatures in WMF

(Windows Metafile)

Search Signatures in EMF

(Enhanced Metafile Format)

Search Signatures in CMX

(Corel Metafile eXchange Image)

Search Signatures in PPSM

(Microsoft PowerPoint Macro-Enabled Slide Show)

Search Signatures in DCM

(Digital Imaging and Communications in Medicine)

Back to top
 English