What is the best PHP p7m class to sign a PDF document? #p7m
Edit
by luca lauretta - 4 years ago (2021-03-01)
Digitally signing a PDF document
| I need a class for signing PDF documents using p7m format. |
Ask clarification
1 Recommendation
Class that may be used to compose and send e-mail messages.
It features:
- User definable headers and body parts.
- MIME encoding of text and HTML body parts with user defined character encoding using quoted-printable.
- Addition of file parts (attachments) with automatic content type detection.
- Forwarding of messages received from somebody else as intact attachments
- Support for multipart/related messages (eg. HTML messages with embedded images, stylesheets, frames, etc..)
- Support for multipart/alternative messages (eg. text and HTML versions in the same message).
- Encoding of message headers with user defined character encoding using q-encoding.
- Definition of the error delivery address setting the Return-Path header calling sendmail program directly.
- Several sub-classes for sending messages by different methods: PHP mail() function, sendmail, qmail, SMTP (with support for authentication and direct delivery mode), maildrop in Microsoft IIS or Exchange Pickup folder.
- Wrappers that emulate the mail() function using the SMTP, sendmail and qmail delivery sub-classes.
- Support for sending personalized bulk mail by replacing the contents of the message parts that differ for each recipient.
- HTML and plain text message parts can be composed using template engines. An example that works with Smarty template engine is provided.
- Retrieving the composed message data or size without sending the message
| by Manuel Lemos package author 26695 - 4 years ago (2021-03-03) Comment
This MIME e-mail message sending class can also be used to compose messages in MIME format. It can also return MIME messages to a string that can be saved to a file.
p7m is a MIME based format. This package currently is not able to sign messages using p7m format. Maybe you can improve it to add p7m support or maybe another colleague can provide another class that can do the signing part. |