We are excited to announce the release of Spire.PDF for Java 11.4.2. This version supports using the byte[] certificate data when signing with "digitalsignatures. PdfCertificate". It also enhances the conversion from PDF to PDF/A and PowerPoint. Moreover, some known issues are fixed successfully in this version, such as the issue that the data extracted from tables was incorrect. More details are listed below.
Here is a list of changes made in this release
| Category | ID | Description |
| New feature | SPIREPDF-7460 | Supports using the byte[] certificate data when signing with "digitalsignatures. PdfCertificate".
PdfDocument pdf = new PdfDocument();
pdf.loadFromFile(inputFile);
FileInputStream instream = new FileInputStream(inputFile_pfx);
byte[] data = FileUtil.getStreamBytes(instream);
PdfCertificate x509 = new PdfCertificate(data, "e-iceblue");
PdfOrdinarySignatureMaker signatureMaker = new PdfOrdinarySignatureMaker(pdf, x509);
signatureMaker.makeSignature("signName");
pdf.saveToFile(outputFile, FileFormat.PDF);
pdf.dispose();
|
| Bug | SPIREPDF-7457 | Fixes the problem that the program threw “NullPointerException” when setting isFlatten(true). |
| Bug | SPIREPDF-7458 | Fixes the issue that some contents were incorrect after converting PDF to PDF/A. |
| Bug | SPIREPDF-7463 | Fixes the issue that the format and font were incorrect after converting PDF to PowerPoint. |
| Bug | SPIREPDF-7462 | Fixes the issue that the data extracted from tables was incorrect. |
Click the link below to download Spire.PDF for Java 11.4.2: