Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

en-crypt, de-crypt, si-gn, ve-rify - smime, pdf, xades and plain files in pure python

License

MIT and 3 other licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.pdf-annotate
LGPL-3.0
LICENSE.pyfpdf
Unknown
LICENSE.pypdf2
NotificationsYou must be signed in to change notification settings

m32/endesive

Description

Python library for digital signing and verification of digital signatures in mail,PDF and XML documents.

The ASN.1 implementation depends onasn1crypto.Cryptographic routines depends oncryptography library.

For certificate verificationCertValidator is used.

This library implements S/MIME handler which can encrypt and decrypt S/MIME messagesusing a public RSA key, in AES-128/192/256 CBC/OFB modes.It can also sign and verify S/MIME messages.

This library implements CAdES-B handler for signing and verifying PDF documents inAdobe.PPKLite/adbe.pkcs7.detached form.It can sign documents during generation using a modified version ofpyfpdf which isincluded in this library. It can also sign documents generated by external programms.

This library implements XADES BES/T with enveloped and enveloping format for creatingsigned xml files.

This library implements CMS handler for signing and verifying plain text files withdetached signature files.

License

This software is licensed under the MIT License. See the LICENSE file inthe top distribution directory for the full license text.

## Requirements

Examples

cert-make.py
Create required certificates (password is 1234)
cert-make-hsm.py
Create required certificates for SoftHSM (password is secret1)
pdf-make.py
Create simple two paged PDF document which is used in pdf-sign-cms.py.
pdf-sign-cms.py
Create signature in externally created PDF.
pdf-sign-cms-hsm.py
Create signature in externally created PDF but signed with key stored in SoftHSM.
pdf-sign-fpdf.py
Create signature while creating PDF.
pdf-verify.py
Verify prevously generated files (cms/pdf).
plain-make.py
Create simple UTF-8 text file.
plain-openssl.sh
Sign, encrypt and decrypt text file with help of openssl executable.
plain-sign-attr.py
Sign text file with 'extended' CMS attributes.
plain-sign-noattr.py
Sign text file without 'extended' CMS attributes.
plain-verify.py
Verify all generated signatures for text file.
smime-make.py
Create simple UTF-8 text file for use in following examples.
smime-openssl.sh
Create signed S/MIME file, encrypted S/MIME file and decrypt generated S/MIME filewith help of openssl executable.
smime-encrypt.py
Create encrypted S/MIME file.
smime-decrypt.py
Decrypt encrypted S/MIME file.
smime-sign-attr.py
Create signed S/MIME file with 'extended' CMS attributes.
smime-sign-noattr.py
Create signed S/MIME file without 'extended' CMS attributes.
smime-verify.py
Verify all generated S/MIME files.
xml-make.py
Create simple xml file for use in following examples.
xml-hsm-certum-enveloped.py
XADES enveloped mode with real certificate (BES/T).
xml-hsm-certum-enveloping.py
XADES enveloping mode with real certificate (BES/T).
xml-hsm-softhsm2-enveloped.py
XADES enveloped mode with SoftHSM certificate (BES).
xml-hsm-softhsm2-enveloping.py
XADES enveloping mode with SoftHSM certificate (BES).

Tools

Online pdf validatorpdfvalidator orverapdf.Offline Apachepdfbox java based validator.

Validate electronic signatures:ec_europa orpkitools_net.


[8]ページ先頭

©2009-2025 Movatter.jp