SetaPDF_Signer_CertificateBundler Class for creation of certificate bundles.

File: /SetaPDF v2/Signer/CertificateBundler.php

Class hierarchy

Summary

Properties

$bundlePaths

Bundle paths.

$bundles

protected array SetaPDF_Signer_CertificateBundler::$bundles = array()

All added bundles.

$outputPath

The output path.


Methods

__construct()

The constructor.

Parameters
$outputPath
 

addBundle()

Add a single bundle.

Parameters
$bundle
 

addBundlePath()

Add a bundle path.

Parameters
$path
 

addBundlePaths()

Add bundle paths.

Parameters
$iterator
 

addCertificate()

Add a certificate.

Parameters
$certificate : SetaPDF_Signer_X509_Certificate
 

addCertificates()

public SetaPDF_Signer_CertificateBundler::addCertificates (
$certificates
): void

Add certificates.

Parameters
$certificates
 

getOutputPath()

Get the output path.

save()

public SetaPDF_Signer_CertificateBundler::save (
[ $forceUpdate = false ]
):

Save the bundle.

The file will only be re-created if anything in the bundle was changed.

Parameters
$forceUpdate