Browse our Products

<dependency>
    <groupId>com.aspose</groupId>
    <artifactId>aspose-pdf</artifactId>
    <version>25.1</version>
</dependency>
copied!  
                                                
                                                  compile(group: 'com.aspose', name: 'aspose-pdf', version: '25.1')
                                                
                                              
copied!  
<dependency org="com.aspose" name="aspose-pdf" rev="25.1">
    <artifact name="aspose-pdf" ext="jar"/>
</dependency>
copied!  
libraryDependencies += "com.aspose" % "aspose-pdf" % "25.1"
copied!  

What’s new in the Aspose.PDF for Java 25.1

Release Highlights

Aspose.PDF for Java 25.1 brings key advancements in digital signing, font substitution, and compliance customization. This release addresses slowdowns in annotation processing, enhances SHA256/SHA512 signing, and introduces powerful APIs for privilege management and PDF/X-1a ICC profiling. Numerous bug fixes also target HTML rendering, image conversion, and PDF/A attachment integrity.

New Features

  • RSA Provider Compatibility Enhancement:
    Support for environments where NONEwithRSA is not universally available across Java providers, ensuring broader compatibility.

  • Document Privileges Inspection:
    New functionality to retrieve detailed document privilege settings (e.g., printing, copying), aiding security audits and compliance checks.

  • Font Substitution When Installed:
    Now detects and uses suitable installed fonts even when embedded fonts are missing, improving rendering consistency without manual intervention.

  • Output Intent Customization for PDF/X-1a:
    Introduced support for setting custom ICC profiles when converting to PDF/X-1a, helping meet specific print and archival standards.

Enhancements

  • Annotation Flatten Performance Optimization:
    Resolved significant slowdowns in Annotation.flatten() noted since version 24.09, restoring expected performance for large files.

  • General Processing Speed Improvements:
    Addressed multiple cases of performance degradation during file manipulation.

  • SHA256 and SHA512 Signing:
    Strengthened document security by allowing use of SHA256 or SHA512 hashes in digital signatures, aligning with modern cryptographic best practices.

Bug Fixes

  • Digital Signature Fixes:

    • Addressed signature verification failures under specific configurations.
    • Fixed issues where setting privileges before signing caused signature invalidation.
  • HTML to PDF Rendering Issues:

    • Corrected multiple layout problems including word wrap, word break, and table-cell alignment.
    • Resolved content loss and formatting errors in HTML fragments and MHT conversions.
    • Fixed exceptions thrown during HTML processing.
  • Underline and Text Style Extraction:

    • Improved recognition and extraction of underline, strikethrough, subscript, and superscript formatting.
  • PDF/A Compliance Fixes:

    • Ensured attachments retain PDF/A conformance.
    • Fixed compliance issues in converted files.
  • Other Resolved Issues:

    • PNG output now correctly renders images.
    • EPS image insertion now works without null pointer exceptions.
    • Resolved issues with NullPointerException on saving PDFs and during concatenation processes.

Public API and Backwards Incompatible Changes

Added Methods:

  • ExternalSignature(X509Certificate, PrivateKey, DigestHashAlgorithm)
  • PdfFileSignature.verifySignature(String, ValidationOptions, ValidationResult[])
  • FloatingBox.getPositioningMode()
  • FloatingBox.setPositioningMode(ParagraphPositioningMode)
  • OcspSettings.getRequestTimeout() / .setRequestTimeout(int)
  • Signature.getCustomSign() / .setCustomSign(CustomSign)
  • Signature.verify(ValidationOptions, ValidationResult[])

Added Classes:

  • com.aspose.pdf.CustomSign
  • com.aspose.pdf.ParagraphPositioningMode

Added Fields:

  • HtmlSaveOptions.RasterImagesSavingModes.DontSave
  • TeXLoadResult.InvalidResult

Method Changes:

  • Removed the boolean parameter from:
    • Field.flatten(boolean)Field.flatten()
    • RedactionAnnotation.flatten(boolean)RedactionAnnotation.flatten()

🔍 Explore the Full Release Details

For full list of updates, please visit Aspose.PDF for Java 25.1 Release Notes.


java rsa signature nonewithrsa | aspose pdf font substitution | pdf x1a icc profile java | verify pdf signature java | annotation flatten slow fix

VersionRelease Date
25.4April 30, 2025
25.3March 30, 2025
25.2February 27, 2025
25.1January 30, 2025
24.12December 29, 2024
24.11November 29, 2024
24.10October 30, 2024
24.9September 27, 2024
24.8August 29, 2024
24.7July 31, 2024
24.6June 28, 2024
24.5May 30, 2024
24.4April 29, 2024
24.3March 29, 2024
24.2February 28, 2024
24.1January 31, 2024
23.12December 28, 2023
23.11November 29, 2023
23.10October 31, 2023
23.9September 28, 2023
23.8August 29, 2023
23.7July 27, 2023
23.6June 29, 2023
23.5May 30, 2023
23.4April 28, 2023
23.3March 24, 2023
23.2February 28, 2023
23.1January 26, 2023
22.12December 23, 2022
22.11November 30, 2022
22.10.1November 17, 2022
22.10October 31, 2022
22.9September 23, 2022
22.8August 24, 2022
22.7.1August 5, 2022
22.7August 5, 2022
22.6June 30, 2022
22.5June 1, 2022
22.4April 28, 2022
22.3March 25, 2022
22.2February 22, 2022
22.1January 21, 2022
21.12December 20, 2021
21.11November 22, 2021
21.10October 20, 2021
21.9September 20, 2021
21.8August 20, 2021
21.7July 8, 2021
21.6June 17, 2021
21.5May 20, 2021
21.4April 20, 2021
21.3March 19, 2021
21.2.1March 10, 2021
21.2February 20, 2021
21.1January 22, 2021
20.12December 18, 2020
20.11.1December 1, 2020
20.11November 18, 2020
20.10October 20, 2020
20.9September 17, 2020
20.8.1September 14, 2020
20.8August 19, 2020
20.7July 20, 2020
20.6June 19, 2020
20.5.1May 28, 2020
20.5May 19, 2020
20.4April 17, 2020
20.3March 19, 2020
20.2February 20, 2020
20.1January 22, 2020
19.12December 19, 2019
19.11November 29, 2019
19.10October 31, 2019
19.9September 30, 2019
19.8August 29, 2019
19.7July 31, 2019
19.6June 26, 2019
19.5May 31, 2019
19.4April 30, 2019
19.3March 29, 2019
19.2February 28, 2019
19.1January 29, 2019
18.12December 30, 2018
18.11November 29, 2018
18.10.2November 12, 2018
18.10October 30, 2018
18.9.1October 4, 2018
18.9September 28, 2018
18.8August 29, 2018
18.7July 31, 2018
18.6June 29, 2018
18.5May 31, 2018
18.4April 25, 2018
18.3March 30, 2018
18.2February 28, 2018
18.1February 6, 2018
17.12December 31, 2017
17.11November 30, 2017
17.10November 1, 2017
17.9October 2, 2017
17.8August 31, 2017
17.7July 20, 2017
17.6June 29, 2017
17.5June 7, 2017
17.4April 28, 2017
17.3.0April 6, 2017
17.2.0February 23, 2017
17.1.0January 26, 2017
16.12.0December 27, 2016
16.11.0November 29, 2016
16.10.0October 26, 2016
12.0.0October 10, 2016
11.9.0September 20, 2016
11.8.0August 11, 2016
11.7.0July 12, 2016
11.6.0June 10, 2016
11.5.0May 10, 2016
11.4.0April 8, 2016
11.3.0March 7, 2016
11.2.0February 8, 2016
11.1.0December 30, 2015