Swift_Signers_SMimeSigner::setSignThenEncrypt
Set perform signing before encryption.
The default is to first sign the message and then encrypt. But some older mail clients, namely Microsoft Outlook 2000 will work when the message first encrypted. As this goes against the official specs, its recommended to only use 'encryption -> signing' when specifically targeting these 'broken' clients.
Signature
public function setSignThenEncrypt([string
$signThenEncrypt = true] )
Parameters
$signThenEncrypt
— string
Returns
- Swift_Signers_SMimeSigner