SetaPDF_Signer::setSignatureContentMinLength()
Description
class SetaPDF_Signer extends SetaPDF {
void setSignatureContentMinLength ( integer $length )
}
As a signatures content various in length it is neccesary to reserve a defined amount of space in the document.
This space is defined with 3500 bytes by default.
If the API recognize that a signature is bigger than the reserved space the signing process will start again, but it automatically sets the signatureContentMinLength-value to the needed length before.
If you already know that your signature is very huge you can adjust the reserved space with this method.
You also can set this value to a very smal amount, to force the API to create the signature twice, so it'll fit exactly in the reserved space and as less as possible bytes were used.
Parameters
$length
The length of the reserved bytes in the document.