(PHP Extension) Create Enveloping XML Digital Signature

This example creates an enveloping digital signature.An enveloping signature is where the signed data is contained within the Signature within an Object element.This example signs non-XML text data where the XML signature constitutes the entire output.