Hi,
I have an issue with working on PDF that was previously touched by PDFBox and encrypted. What I need to do is read metadata from the document, and when I try to use:
PdfReader.Open(documentStream, PdfDocumentOpenMode.Import)
it gives me an error:
System.InvalidOperationException: 'Indirect reference without value.'
I've also tried Modify mode with owner password, but got the same error.
The document is encrypted with AES256 on PDFBox side, tried also RC4 128, but no luck. It seems to be incompatible.