G
G
GugaevMaksim2020-07-13 16:31:58
Python
GugaevMaksim, 2020-07-13 16:31:58

How to get information about the signature of a document in docx or pdf format?

Question: How can I get signature details (Subject, Publisher, Validity) for a document in docx and pdf format in the simplest way? Preferably using libraries in Python 3.X (other languages ​​are also allowed).

Description of the problem: I looked at many libraries, but did not find a normal stable method that can pull signature information from a signed docx document. I considered the product of the CryptoPro company (CryptoPro SVS 2.0), their price bites a lot, especially when scaling to many servers.
CryptoPro has a demo page for obtaining signature data ( https://dss.cryptopro.ru/Verify/Verify/ ), which displays the result when a signed document is loaded:
5f0c61afa3c8c362073083.png
Ideally, receive similar data on the content of the document.

Additionally: I'm trying to gradually dive into the topic, I really welcome leading questions.
Server Configuration: Ubuntu 18.04, Python 3.7
Using System.IO.Packaging.PackageDigitalSignatureManager is not possible for Net Core

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergei Chamkin, 2020-07-13
@Sergei1337

since other languages ​​are allowed
https://stackoverflow.com/questions/28106331/digit...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question