Manuals

 

SetaPDF_Signer::setSignatureProperty()

Description

class SetaPDF_Signer extends SetaPDF {
mixed setSignatureProperty ( string $name[, mixed $value] ) }

Sets a value of a signature property.

Parameters

$name

The name of the signature property. Possible values are:

For a detailed description of each possible property check their synonym methods.

$value

The value of the given property.

If null is passed the property will not be written to the signature dictionary in the resulting PDF document. Except the "timeOfSigning"-property. If this property is set to null the time of signing will be the current local time on the server.

All values (except the "timeOfSigning"-value) are strings. The "timeOfSigning"-value is an integer value - a unix timestamp.

Return Values

True is everything works as expected or an SetaPDF_Error object if an error occurs.