42 lines
1.6 KiB
YAML
42 lines
1.6 KiB
YAML
name: SMimeSigner
|
|
class_comment: null
|
|
dependencies:
|
|
- name: RuntimeException
|
|
type: class
|
|
source: Symfony\Component\Mime\Exception\RuntimeException
|
|
- name: Message
|
|
type: class
|
|
source: Symfony\Component\Mime\Message
|
|
properties: []
|
|
methods:
|
|
- name: __construct
|
|
visibility: public
|
|
parameters:
|
|
- name: certificate
|
|
- name: privateKey
|
|
- name: privateKeyPassphrase
|
|
default: 'null'
|
|
- name: extraCerts
|
|
default: 'null'
|
|
- name: signOptions
|
|
default: 'null'
|
|
comment: "# * @author Sebastiaan Stok <s.stok@rollerscapes.net>\n# */\n# final class\
|
|
\ SMimeSigner extends SMime\n# {\n# private string $signCertificate;\n# private\
|
|
\ string|array $signPrivateKey;\n# private int $signOptions;\n# private ?string\
|
|
\ $extraCerts;\n# \n# /**\n# * @param string $certificate The path\
|
|
\ of the file containing the signing certificate (in PEM format)\n# * @param string\
|
|
\ $privateKey The path of the file containing the private key (in\
|
|
\ PEM format)\n# * @param string|null $privateKeyPassphrase A passphrase of the\
|
|
\ private key (if any)\n# * @param string|null $extraCerts The path\
|
|
\ of the file containing intermediate certificates (in PEM format) needed by the\
|
|
\ signing certificate\n# * @param int|null $signOptions Bitwise operator\
|
|
\ options for openssl_pkcs7_sign() (@see https://secure.php.net/manual/en/openssl.pkcs7.flags.php)"
|
|
- name: sign
|
|
visibility: public
|
|
parameters:
|
|
- name: message
|
|
comment: null
|
|
traits:
|
|
- Symfony\Component\Mime\Exception\RuntimeException
|
|
- Symfony\Component\Mime\Message
|
|
interfaces: []
|