I am using Bouncy Castle to verify the pdf signature signed by js library:
PDDocument signedDocument = PDDocument.load(file); List