Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remover ds: #12

Open
pablitouy opened this issue Apr 8, 2022 · 4 comments
Open

remover ds: #12

pablitouy opened this issue Apr 8, 2022 · 4 comments

Comments

@pablitouy
Copy link

Como se puede remover esto ? estuve mirando y hay un template, pero lo quito y aun asi los sigue coloando

@giansalex
Copy link
Member

porque querrías eliminarlo?

@pablitouy
Copy link
Author

Porque lo estoy usando para firmar un xml que se envia a aduana de uruguay (no para lo que esta pensada la libreria por lo que veo

@giansalex
Copy link
Member

En namespace ds: aun es necesario para las etiquetas de la firma, o amenos que la incluyas directamente en el mismo nodo como:

<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">

@pablitouy
Copy link
Author

Este funciona y no tiene el ds: por eso queria quitarlo

<DAE xmlns="http://www.aduanas.gub.uy/LUCIA/DAE"><TipoDocumento>4</TipoDocumento><IdDocumento>2111111</IdDocumento><FechaHoraDocumentoElectronico>2022-04-07T15:35:05</FechaHoraDocumentoElectronico><CodigoIntercambio>WS_PEDIDOCANAL</CodigoIntercambio><NroTransaccion>040715350526</NroTransaccion><Objeto><DUAAduana>001</DUAAduana><DUAAno>2022</DUAAno><DUANumero>00000</DUANumero></Objeto><Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>EB/qXQA62T8V45uTyRYJFRtpDZM=</DigestValue></Reference></SignedInfo><SignatureValue>dkXg/r2xDOZM..........................</SignatureValue><KeyInfo><X509Data><X509Certificate>MIIGNzCCBB...............................</X509Certificate></X509Data></KeyInfo></Signature></DAE>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants