对我来说 Mupdfcore.authenticatePassword("password") 不起作用。没有密码保护的 Pdf 文件可以正确呈现,但有密码的文件会导致错误。
error : AES padding out of range : 154
谁能帮帮我吗..?
authenticatePassword(String password)
在 MuPDFCore 中没有实现。
改为使用MuPDFCore.authenticatePasswordInternal(password)
。
Without seeing the file in question, it's very hard to make a judgement on this - there are simply too many possible combinations of security revision/versions within Acrobat.
Why not come to the #ghostscript irc channel and speak to the devs? See the link on http://mupdf.com if you don't have an irc client.
We'll probably ask you to make the file available to us via our bug tracker at http://bugs.ghostscript.com/ - we can mark it 'private' so it's not world readable if you want to keep it confidential.