Open Journal Systems  3.3.0
Symfony\Component\Mime\Crypto\SMimeSigner Class Reference
Inheritance diagram for Symfony\Component\Mime\Crypto\SMimeSigner:
Symfony\Component\Mime\Crypto\SMime

Public Member Functions

 __construct (string $certificate, string $privateKey, string $privateKeyPassphrase=null, string $extraCerts=null, int $signOptions=null)
 
 sign (Message $message)
 

Additional Inherited Members

- Protected Member Functions inherited from Symfony\Component\Mime\Crypto\SMime
 convertMessageToSMimePart ($stream, string $type, string $subtype)
 
 getStreamIterator ($stream)
 
 iteratorToFile (iterable $iterator, $stream)
 
 normalizeFilePath (string $path)
 

Detailed Description

Author
Sebastiaan Stok s.sto.nosp@m.k@ro.nosp@m.llers.nosp@m.cape.nosp@m.s.net

Definition at line 20 of file SMimeSigner.php.

Constructor & Destructor Documentation

◆ __construct()

Symfony\Component\Mime\Crypto\SMimeSigner::__construct ( string  $certificate,
string  $privateKey,
string  $privateKeyPassphrase = null,
string  $extraCerts = null,
int  $signOptions = null 
)
Parameters
string$certificateThe path of the file containing the signing certificate (in PEM format)
string$privateKeyThe path of the file containing the private key (in PEM format)
string | null$privateKeyPassphraseA passphrase of the private key (if any)
string | null$extraCertsThe path of the file containing intermediate certificates (in PEM format) needed by the signing certificate
int | null$signOptionsBitwise operator options for openssl_pkcs7_sign() (
See also
https://secure.php.net/manual/en/openssl.pkcs7.flags.php)

Definition at line 42 of file SMimeSigner.php.

References Symfony\Component\Mime\Crypto\SMime\normalizeFilePath().

Member Function Documentation

◆ sign()

Symfony\Component\Mime\Crypto\SMimeSigner::sign ( Message  $message)

The documentation for this class was generated from the following file: