Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

签名后添加注解,怎么判断文档在签名后被修改 #9

Open
frankz61 opened this issue Jan 7, 2021 · 4 comments
Open

Comments

@frankz61
Copy link

frankz61 commented Jan 7, 2021

No description provided.

@frankz61 frankz61 changed the title 签名后添加注解,怎么判断文档在签名后被修改mupdf add annot after signature, how to 签名后添加注解,怎么判断文档在签名后被修改 Jan 7, 2021
@frankz61
Copy link
Author

frankz61 commented Jan 7, 2021

文档多次签章后,删除中间一个印章,在验证印章的时候怎么判断签名后文档被修改?

@1uokun
Copy link

1uokun commented Jan 7, 2021

core.hasChanges()

@frankz61
Copy link
Author

frankz61 commented Jan 7, 2021

core.hasChanges 这个追踪源码是获取的当前文档未保存的改变,是pdf_document 中的dirty,新打开的文件去验证印章,这个值一直都是0,这个应该代表的是对pdf文档操作完成后,退出时如果发现有修改没有保存文档的判断。

@zl03jsj
Copy link
Owner

zl03jsj commented Apr 1, 2021

No description provided.

需要一个verify的逻辑来验证, pdf把文档的签名放到一个中, 文档内容也有, 签名也有, 验证签名后是否被修改, 其实就是验证数字证书签名了.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants