classes/Emails/Email/Signers.php
public function addSMIME(string $certificate, string $privateKey): void
    {
        $signer = new SMIMESigner();
        $signer->certificate = $certificate;
        $signer->privateKey = $privateKey;
        $this->set($signer);
    }
public function addSMIME(string $certificate, string $privateKey): void
    {
        $signer = new SMIMESigner();
        $signer->certificate = $certificate;
        $signer->privateKey = $privateKey;
        $this->set($signer);
    }
public function addSMIME ( string $ certificate , string $ privateKey ) : void { $ signer = new SMIMESigner ( ) ; $ signer -> certificate = $ certificate ; $ signer -> privateKey = $ privateKey ; $ this -> set ( $ signer ) ; }
Add a SMIME signer.

@param string $certificate
@param string $privateKey
Add a SMIME signer .