Smime final class
Minn\Mail\Smime · public/minn/src/Minn/Mail/Smime.php · 41 lines
S/MIME signing of a composed MIME entity with a certificate and key on disk: the entity goes through OpenSSL as a detached signature and comes back as new MIME headers (multipart/signed) and the signed body.
Uses 1
Public
| static | sign(string $entity, string $cert, string $key, string $passphrase, string $extraCerts): ?array# | The signed entity's MIME headers and body, or null when signing fails. @return array{0: string, 1: string}|null |
| static | entityHeaders(string $mimeHeaders, string $body): string# | The MIME headers of the entity that is signed: a multipart entity whose body is 7-bit clean is not declared 8bit (probe db-mail-rewrite-doubts). |
Nothing matches.