PdfFileSignature getSignNames() returns empty list since version 24.5

We are using aspose-pdf java to check if a PDF document contains a signature. Since version 24.5 this does not work any more. PdfFileSignature.getSignNames() returns an empty list instead of the sign names. It worked fine until version 24.4 and does not work using 24.5, 24.6 and 24.7.
See code snippet and attached project containing a PDF with signature for testing.

package org.example;

import com.aspose.pdf.facades.PdfFileSignature;

import java.util.List;

public class ReadSignatureNames {
    public static void main(String[] args) {
        PdfFileSignature pdfFileSignature = new PdfFileSignature();
        pdfFileSignature.bindPdf(ReadSignatureNames.class.getResourceAsStream("/signed.pdf"));
        List<String> sigNames = pdfFileSignature.getSignNames();

        if (sigNames.isEmpty()) {
            System.out.println("No signature found");
        } else {
            sigNames.forEach(System.out::println);
        }
    }
}

pdf-signature.zip (48.7 KB)

@alfred.schalk

We are checking it and will get back to you shortly.

It seems the issue was fixed with 24.8.
According to release notes: PDFJAVA-44028 Regression: PdfFileSignature.containsSignature() returns wrong value

@alfred.schalk

Yes, we tested the scenario in our environment using 24.8 version and it looks like the issue is resolved. Please test at your end too and let us know if you notice any issues.

@asad.ali
We re-tested with 24.8 an I can confirm that PdfFileSignature.getSignNames() and PdfFileSignature.containsSignature() work as intended again.

@alfred.schalk

It is nice to know that things have started working in your environment again. Please feel free to post a new topic in case you need any kind of assistance.