Hello,
We experience a problem opening signed Word document.
Exception with message:
"Unable to cast object of type ' ’ to type ' '."
is thrown from:
Document document = new Document(inStream);
Word document is signed with Gost algorithm suite (Russian cryptographic standard).
We are not interested in signature validation by Aspose.Words library.
It would be enough just to open (parse) document without errors.
We use Aspose.Words for document convertion between word to pdf formats.
Previous version of Aspose.Word we used (15.1.0) successfully opens such document.
Current version (15.9.0) fails.
Example of signed document with Gost alg suite is placed in attachment.
Thanks
NB: Aspose.Word also fails open a document if it is signed with SHA256 hash.