FileAccess Orion

SMimeSigner extends SMime
in package

Tags
author

Sebastiaan Stok s.stok@rollerscapes.net

Table of Contents

$extraCerts  : mixed
$privateKeyPassphrase  : string|null
$signCertificate  : mixed
$signOptions  : mixed
$signPrivateKey  : mixed
__construct()  : mixed
sign()  : Message

Properties

$privateKeyPassphrase

private string|null $privateKeyPassphrase

Methods

__construct()

public __construct(string $certificate, string $privateKey[, string|null $privateKeyPassphrase = null ][, string|null $extraCerts = null ][, int|null $signOptions = null ]) : mixed
Parameters
$certificate : string

The path of the file containing the signing certificate (in PEM format)

$privateKey : string

The path of the file containing the private key (in PEM format)

$privateKeyPassphrase : string|null = null

A passphrase of the private key (if any)

$extraCerts : string|null = null

The path of the file containing intermediate certificates (in PEM format) needed by the signing certificate

$signOptions : int|null = null

Bitwise operator options for openssl_pkcs7_sign() (@see https://secure.php.net/manual/en/openssl.pkcs7.flags.php)

Return values
mixed

Search results