composer update
This commit is contained in:
8
vendor/symfony/mime/Crypto/SMimeSigner.php
vendored
8
vendor/symfony/mime/Crypto/SMimeSigner.php
vendored
@@ -24,11 +24,6 @@ final class SMimeSigner extends SMime
|
||||
private $signOptions;
|
||||
private $extraCerts;
|
||||
|
||||
/**
|
||||
* @var string|null
|
||||
*/
|
||||
private $privateKeyPassphrase;
|
||||
|
||||
/**
|
||||
* @param string $certificate The path of the file containing the signing certificate (in PEM format)
|
||||
* @param string $privateKey The path of the file containing the private key (in PEM format)
|
||||
@@ -50,9 +45,8 @@ final class SMimeSigner extends SMime
|
||||
$this->signPrivateKey = $this->normalizeFilePath($privateKey);
|
||||
}
|
||||
|
||||
$this->signOptions = $signOptions ?? PKCS7_DETACHED;
|
||||
$this->signOptions = $signOptions ?? \PKCS7_DETACHED;
|
||||
$this->extraCerts = $extraCerts ? realpath($extraCerts) : null;
|
||||
$this->privateKeyPassphrase = $privateKeyPassphrase;
|
||||
}
|
||||
|
||||
public function sign(Message $message): Message
|
||||
|
||||
Reference in New Issue
Block a user