We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Unable to read document with Digital signature on it throws Cross reference table or cross reference stream not found

I am trying to read pdf document(Aspose.pdf) which contains Digital signature on it (X509 signing certificate) using below code:
i tried passing document two ways :

  1. Using Stream
    var filebytearray = File.ReadAllBytes(inputFile);
    var ms = new MemoryStream(filebytearray);
    using (var doc = new Document(ms))

2.Using Filepath
using (var doc = new Document(inputFile))
pdf-sample (1).pdf (31.1 KB)

We are using Aspose: 18.5.0.

but getting this exception of Cross reference table or cross reference stream not found.
Kindly suggest.

@cyginfo

Thank you for contacting support.

We have worked with the data shared by you and have been able to reproduce the issue in our environment. A ticket with ID PDFNET-45364 has been logged in our issue management system for further investigation and resolution. The ticket ID has been linked with this thread so that you will receive notification as soon as the ticket is resolved.

We are sorry for the inconvenience.