Package para assinaturas digitais
Project description
ICPyEdu
ICPyEdu is a tool for Digital Signatures using ICPEdu Certificate. This package was developed as a complementary artifact to the completion of the course work of the student Kemuel dos Santos Rocha to obtain the Bachelor's degree in Computer Engineering.
ICPyEdu is a library for educational purposes and allows signing documents in .pdf format, as well as verifying the digital signature.
How to install the library
To install the library, just run the command below:
pip install icpyedu
How to import library classes and methods
To use the features of the package, import with the following code:
from icpyedu import signer
To instantiate the class responsible for the digital signature methods, just declare a variable receiving Sign as follows:
var = signer.Sign()
To instantiate the class responsible for the digital signature verification methods, just declare a variable receiving Verifier as follows:
var = signer.Verify()
Finally, to use it to sign a pdf, just call the signFile function passing the requested parameters, for example:
var.signFile("email", "password", "filePath", "certificatePath")
Similarly, to verify a pdf, just call the verifySignature function passing the requested parameters, for example:
var.verifySignature("pdf","certifying authority_1", "certifying authority_2")
Certificate authority certificates are files that come with the personal certificate exported by ICPEdu
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file icpyedu-0.0.2.tar.gz.
File metadata
- Download URL: icpyedu-0.0.2.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
374021d78090eaaba3258f1c400bb3cbf56e021b67da37f1cee9b2f4e3521395
|
|
| MD5 |
18ad6e3be9ca6f1d6b77d5c0b9c95d5f
|
|
| BLAKE2b-256 |
f2b471c6d2a2103d9cde5f595e65401c416839b79e384baa339b5d57411b3294
|