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 :
- 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.