b-trust.pdf
The attached file is signed with an invisible signature.
The signature is verified by Adobe acrobat DC and the root cert is extracted correctly.
When using your package though, the root cert is not extracted, only the client cert.,
I investigated the code and noticed that the problem is in lib/helpers/general.js getMessageFromSignature method which returns only the client certificate.
b-trust.pdf The attached file is signed with an invisible signature. The signature is verified by Adobe acrobat DC and the root cert is extracted correctly. When using your package though, the root cert is not extracted, only the client cert., I investigated the code and noticed that the problem is in lib/helpers/general.js getMessageFromSignature method which returns only the client certificate.
Can you check? Thanks in advance.