Can't read signature details

Hello!

We have an issue with extracting the certificate from PDF file. PDF file to read is passed as Base64 encoded string.

Code snippet:

using (PdfFileSignature pdfFileSignature = new PdfFileSignature())
{
	using (var pdfContent = new MemoryStream(Convert.FromBase64String(pdfFile))
	{
		pdfFileSignature.BindPdf(pdfContent);
		var sigNames = pdfFileSignature.GetSignNames();
		
		//This throws an error 'Cannot find object or property'
		Stream cerStream = pdfFileSignature.ExtractCertificate(sigName);
	}
}

Certificate is visible in Acrobat Reader.
PDF_sample.pdf (143.9 KB)

We are using Aspose.PDF version 23.2.

Can you, please, help with this problem?

Best regards!

@imarinkovic
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): PDFNET-56791

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.