Latest release (October 2026)

The latest release v26.10 moves the package to the GroupDocs.Signature for Java 26.10 engine (version 24.12 of the package used the 23.6.1 engine) and includes all changes of the Java 23.12, 24.3, 24.7, 26.5 and 26.10 releases. Highlights: DICOM images and archives, new barcode and QR code types, signatures in Word headers and footers, signing of VBA projects and raster images, PDF permissions and Long Term Validation, SHA-256 PDF signatures with cryptographic verification, certificate validity checks and control over loading external resources.

Full list of changes in this release

KeyCategorySummary
SIGNATURENODEJSUpdateJava engine updated to GroupDocs.Signature for Java 26.10
SIGNATURENODEJSFeatureNew classes and enumerations are exported from the package root (see Public API)
SIGNATURENET-5950, SIGNATURENET-6000, SIGNATURENET-6001FeatureExternal resources referenced by a document are no longer loaded by default; new LoadOptions settings control it
SIGNATURENET-5995FeatureSigning with an expired or not yet valid certificate is rejected unless DigitalSignOptions allows it
SIGNATURENET-5634FeatureWord documents keep their OOXML compliance when saved; WordProcessingSaveOptions can set it
SIGNATURENET-5976FeaturePDF digital signatures use SHA-256 by default and honor HashAlgorithm
SIGNATURENET-5978FeatureVerification checks PDF digital signatures cryptographically; a document changed after signing is not valid
SIGNATURENET-5997FeaturePDF verification honors SubjectName, IssuerName and the signing time window
SIGNATURENET-6003FeatureCertificate verification checks expiration, issuer, subject, serial number, thumbprint and the chain
SIGNATUREJAVAFeatureLoadOptions.setFileType, Signature.search(Predicate) and VerificationResult.getFailed()
SIGNATURENET-5077FeaturePreviewOptions.setResolution controls the DPI of preview images
SIGNATURENET-5208FeatureICustomSignHash plug-in for PDF digital signing
SIGNATURENET-5217, SIGNATURENET-5218FeatureSearch and verify methods with Predicate filters
SIGNATURENET-5267FeaturePDF permissions and owner password on save (PdfSaveOptions)
SIGNATURENET-5364FeatureLong Term Validation (LTV) for PDF digital signatures (DigitalSignOptions.setUseLtv)
SIGNATURENET-5571FeatureDigital signing of raster images (PNG, JPG, TIFF) via LSB steganography
SIGNATURENET-4809EnhancementPDF digital signing with an external certificate and private key
SIGNATURENET-4977, SIGNATURENET-4982, SIGNATURENET-4988, SIGNATURENET-4990FeatureText, image, barcode, QR code and stamp signatures in headers and footers of Word documents
SIGNATURENET-4786FeatureSign XLSM spreadsheets with VBA projects
SIGNATURENET-3882FeatureMailMark 2D as a new QR code type
SIGNATURENET-4657FeatureNew barcode type GS1DotCode
SIGNATURENET-4743, SIGNATURENET-4948FeatureNew QR code types HanXin and GS1HanXin
SIGNATURENET-4744, SIGNATURENET-4784FeatureHIBC LIC QR codes with primary and secondary data
SIGNATURENET-4357EnhancementHIBC PAS QR codes
SIGNATURENET-4853EnhancementSwiss QR codes
SIGNATURENET-4501, SIGNATURENET-4559, SIGNATURENET-4557, SIGNATURENET-4605, SIGNATURENET-4574FeatureSign, search, verify, preview and get information of DICOM images
SIGNATURENET-4595, SIGNATURENET-4598FeatureXMP data of DICOM images is saved and returned in the document information
SIGNATURENET-4530, SIGNATURENET-4650, SIGNATURENET-4736FeatureSearch, verify and preview signatures within archives
SIGNATURENET-4372FeatureSearch in certificate documents
SIGNATURENET-4537EnhancementDocumentResultSignature contains the error message
SIGNATURENET-4532EnhancementSpreadsheets are signed using a digital signature as a container for certificates
SIGNATURENET-4602EnhancementSize and position of barcode and QR code signatures found in images
SIGNATURENET-4679, SIGNATURENET-4818EnhancementBetter support of multi-page TIFF and WebP images
SIGNATURENET-4750EnhancementPagination for multi-layer images in the search process
SIGNATURENET-4757EnhancementExtended document preview data
SIGNATUREJAVAEnhancementWord documents with large text shapes spanning several pages are handled
SIGNATURENET-6004FixSignatureSettings.setLogLevel takes effect; with the default level the logger receives messages
SIGNATUREJAVA-2903FixBarcode and QR code signing no longer fails with The image size can not be 0! on Java 11 and later
SIGNATURENET-5998FixThe time-stamp server receives credentials when only the user name or only the password is set
SIGNATURENET-6005, SIGNATURENET-6006FixOptions objects reused for several documents apply to each document correctly
SIGNATURENET-6002FixSpreadsheets with a linked picture that has no image data no longer fail search and verification
SIGNATURENET-5242FixInvisible image in a PDF digital signature
SIGNATURENET-5270FixExisting digital signatures are kept when new ones are added to a PDF
SIGNATURENET-5291FixLegacy barcode type names are recognized when matching persisted signatures
SIGNATURENET-5527Fix“File type not supported” while searching signatures in WebP images
SIGNATUREJAVA-2877FixImage layers issue for DICOM (.dcm) files
SIGNATURENET-4680, SIGNATURENET-4824FixEvaluation message of digitally signed PDF documents
SIGNATURENET-4726, SIGNATURENET-4548FixImage processing and digital certificates on Linux
SIGNATURENET-4487, SIGNATURENET-4504, SIGNATURENET-4533FixSigning documents within archives: Word documents, signature position and trial limitations
SIGNATURENET-4508, SIGNATURENET-4509, SIGNATURENET-4510, SIGNATURENET-4531FixAppearance of stamp signatures: borders, corners and line backgrounds
SIGNATURENET-4432, SIGNATURENET-4481FixDeleting digital signatures from ODT documents raised an exception
SIGNATURENET-4486FixWrong format of the digital certificate for spreadsheets
SIGNATURENET-4505FixSome two-page Word documents could not be signed in trial mode
SIGNATURENET-4599FixSearch did not give expected results because of the evaluation message in internal images
SIGNATUREJAVAFixSaving a signed document as images no longer produces empty pages; image save options are applied
SIGNATUREJAVAFixCertificates whose key entry has a name are accepted for presentations, spreadsheets and VBA projects
SIGNATUREJAVAFixQR code search in multi-layer images with ReturnContent returns the codes found
SIGNATUREJAVAUpdateArchives are checked for excessive size and compression while they are expanded
SIGNATURENET-5825UpdateTrial mode: signing an archive is no longer limited by the number of documents in it
SIGNATUREJAVA-2908UpdateAspose libraries updated; BarcodeTypes.Code39, Code39FullASCII and Code93 replace the Standard and Extended types

Behavior changes to check before upgrading

  • External resources are not loaded unless LoadOptions.setSkipExternalResources(false) is set.
  • Signing with an expired or not yet valid certificate throws GroupDocsSignatureException. Call DigitalSignOptions.setAllowExpired(true) or setAllowNotYetValid(true) to sign anyway.
  • PDF digital signatures are created with SHA-256 instead of SHA-1.
  • Verifying a PDF with DigitalVerifyOptions reports a signature as valid only if it verifies cryptographically, and applies SubjectName, IssuerName, SignDateTimeFrom and SignDateTimeTo.
  • With the default log level, a logger passed in SignatureSettings now receives errors, warnings and trace messages.
  • An archive with more than 10,000 entries, more than 1 GB of content or an entry compressed more than 100 times is rejected.
  • BarcodeTypes.Code39Standard, Code39Extended, Code93Standard and Code93Extended are deprecated aliases of Code39, Code39FullASCII and Code93.

Major features

PDF digital signatures

PDF documents are signed with SHA-256 by default, and setHashAlgorithm selects another digest. Signing with an expired or not yet valid certificate is rejected unless it is allowed explicitly:

'use strict';

const groupdocs = require('@groupdocs/groupdocs.signature');

const signature = new groupdocs.Signature('contract.pdf');

const options = new groupdocs.DigitalSignOptions('certificate.pfx');
options.setPassword('1234567890');
options.setHashAlgorithm(groupdocs.HashAlgorithm.Sha512); // SHA-256 is used by default
options.setAllowExpired(true); // sign with an expired certificate; a warning is logged

signature.sign('contract_signed.pdf', options);

Other PDF improvements:

  • DigitalSignOptions.setUseLtv(true) embeds Long Term Validation information, so the signature stays verifiable after the certificate expires.
  • PdfSaveOptions can protect the result with permissions (Permissions flags) and an owner password.
  • A PDF can be signed with an external certificate and private key, and a custom signer can be plugged in with ICustomSignHash.
  • Verification checks the signature cryptographically: a document changed after signing is not valid.

New document types and signature locations

  • DICOM images can be signed, searched, verified and previewed.
  • Signatures can be searched, verified and previewed within archives.
  • Text, image, barcode, QR code and stamp signatures can be placed in the headers and footers of Word documents (ShapePosition).
  • XLSM spreadsheets can be signed together with their VBA projects (DigitalVBA).
  • Raster images (PNG, JPG, TIFF) can carry an invisible digital signature embedded with LSB steganography (ImageDigitalSignOptions, ImageDigitalVerifyOptions).

New barcode and QR code types

GS1DotCode barcodes, and HanXin, GS1HanXin, MailMark 2D, HIBC LIC, HIBC PAS and Swiss QR codes with their structured data classes (Mailmark2D, HIBCLICPrimaryData, HIBCLICSecondaryAdditionalData, HIBCLICCombinedData, HIBCPASData, HIBCPASRecord, SwissQR, SwissAddress).

Other improvements

  • PreviewOptions.setResolution sets the DPI of preview images (96 by default).
  • Signature.search and Signature.verify accept Predicate filters.
  • Word documents keep their OOXML compliance when saved, and WordProcessingSaveOptions can set it (OoxmlCompliance).

Package

The package is available on npm: @groupdocs/groupdocs.signature.

npm install @groupdocs/groupdocs.signature@26.10.0

Public API and backward incompatible changes

The public API matches GroupDocs.Signature for Java 26.10.

The following classes and enumerations are now exported from the package root:

  • Options and settings: CertificateSearchOptions, DicomSaveOptions, ImageDigitalSignOptions, ImageDigitalVerifyOptions, DigitalVBA, PreviewPageData, SignatureContext
  • Signatures and structured data: CertificateMetadataSignature, DicomXmpEntry, Mailmark2D, MaxiCodeSecondMessage, HIBCLICCombinedData, HIBCLICPrimaryData, HIBCLICSecondaryAdditionalData, HIBCPASData, HIBCPASRecord, SwissAddress, SwissQR
  • Enumerations: HashAlgorithm, OoxmlCompliance, Permissions, ShapePosition, StoreName, DicomXmpType, Mailmark2DType, HIBCLICDateFormat, HIBCPASDataLocation, HIBCPASDataType
  • Exceptions: ArchiveSecurityException

PreviewOptions, PreviewFormats, SpreadsheetPosition and TextShadow moved to other Java packages (com.groupdocs.signature.options.preview and com.groupdocs.signature.domain.extensions.signoptions). They are exported under the same names, so JavaScript code that uses them from the package root does not need to change.

See Behavior changes to check before upgrading.

Feedback

We value your feedback! If you have any questions, issues, or suggestions, feel free to reach out to us through our Free Support Forum. Our team will be happy to assist you and answer any questions you may have.