This demo uses the openssl_private_encrypt() function to create the signature value outside of the PAdES module while it is passed back to the module at the end.