Open Journal Systems
3.3.0
|
Public Member Functions | |
__construct (string $certificate, string $privateKey, string $privateKeyPassphrase=null, string $extraCerts=null, int $signOptions=null) | |
sign (Message $message) | |
Additional Inherited Members | |
![]() | |
convertMessageToSMimePart ($stream, string $type, string $subtype) | |
getStreamIterator ($stream) | |
iteratorToFile (iterable $iterator, $stream) | |
normalizeFilePath (string $path) | |
Definition at line 20 of file SMimeSigner.php.
Symfony\Component\Mime\Crypto\SMimeSigner::__construct | ( | string | $certificate, |
string | $privateKey, | ||
string | $privateKeyPassphrase = null , |
||
string | $extraCerts = null , |
||
int | $signOptions = null |
||
) |
string | $certificate | The path of the file containing the signing certificate (in PEM format) |
string | $privateKey | The path of the file containing the private key (in PEM format) |
string | null | $privateKeyPassphrase | A passphrase of the private key (if any) |
string | null | $extraCerts | The path of the file containing intermediate certificates (in PEM format) needed by the signing certificate |
int | null | $signOptions | Bitwise operator options for openssl_pkcs7_sign() ( |
Definition at line 42 of file SMimeSigner.php.
References Symfony\Component\Mime\Crypto\SMime\normalizeFilePath().
Symfony\Component\Mime\Crypto\SMimeSigner::sign | ( | Message | $message | ) |
Definition at line 61 of file SMimeSigner.php.
References Symfony\Component\Mime\Message\getBody(), Symfony\Component\Mime\Message\getHeaders(), and Symfony\Component\Mime\Crypto\SMime\iteratorToFile().