I have an XML digital signature, (xmlns="http://www.w3.org/2000/09/xmldsig
) and I want to convert this into a PKCS7 signature.
I belive I have to use an ASN.1 encoder such as https://github.com/FGrosse/PHPASN1 but I cannot understand how to create a valid pkcs7/asn.1 signaure with it.
Is this possible?