Set the certificate location to use for signing.
public setSignCertificate ( string $certificate, string | array $privateKey = null, integer $signOptions = PKCS7_DETACHED, string $extraCerts = null ) : Swift_Signers_SMimeSigner | ||
$certificate | string | |
$privateKey | string | array | If the key needs an passphrase use array('file-location', 'passphrase') instead |
$signOptions | integer | Bitwise operator options for openssl_pkcs7_sign() |
$extraCerts | string | A file containing intermediate certificates needed by the signing certificate |
return | Swift_Signers_SMimeSigner |