I have created 1 UBL document InvoiceType. It has all the required details.
Now I want to add a Signature to the UBL document. The Extension will be used for this AFAIK.
I have tried to find out this but I am not able to find the solution.
I tried with xades4j but there's 1 issue, it creates a Signature directly in Document(using ds:Signature), not in the Extension. I passed the UBL XML string to xades4j.
I want it to be in structure:
`
urn:oasis:names:specification:ubl:dsig:enveloped:xadesurn:oasis:names:specification:ubl:signature:1urn:oasis:names:specification:ubl:signature:Invoice
`
Please suggest me way to add a signature in the UBL extension.
I have created 1 UBL document InvoiceType. It has all the required details. Now I want to add a Signature to the UBL document. The Extension will be used for this AFAIK. I have tried to find out this but I am not able to find the solution.
I tried with xades4j but there's 1 issue, it creates a Signature directly in Document(using ds:Signature), not in the Extension. I passed the UBL XML string to xades4j. I want it to be in structure:
`