Closed aphoe closed 7 months ago
To add certificate options (reason, location, etc), you can now call set_metadata_props() before you call to_pdf_file_s()
set_metadata_props()
to_pdf_file_s()
Example:
$cert = [ 'cert' => $certificate, 'pkey' => $pkey, ]; $obj = PDFDoc::from_string($pdf); $obj->set_signature_certificate($cert); $obj->set_metadata_props($name, $reason, $location, $contactInfo); $signed = $obj->to_pdf_file_s();
Hi @dealfonso, can you create a v1.4.3 tag so we can pull it directly from Packagist with a composer update?
Thank you.
done
Thank you very much
To add certificate options (reason, location, etc), you can now call
set_metadata_props()
before you callto_pdf_file_s()
Example: