Smime final class
Minn\Mail\Smime · public/minn/src/Minn/Mail/Smime.php · 27 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 |
Nothing matches.