Hi Sean, this isn't my main purpouse, but i want to continue editing the
xml without be concerned with this issues.
I want to sign an xml part, and keep editable the others. Maybe the user
or the editor make indentation, insert spaces and something else that
change the shape of the xml, but not th
Another question to ask is why do you want to indent the signature? Is
this for making it easier to view? If so, then just use an XML-aware
editor or web browser like firefox that automatically formats and
indents the XML so it looks nicer.
--Sean
Raul Benito wrote:
We have a feature request
We have a feature request like this in the bugzilla DB. If anyone want
to take it, and send the patchs, feel free.
On 2/13/07, Berin Lautenbach <[EMAIL PROTECTED]> wrote:
I'm not sure what can be done in the Java library to control or turn off
indenting.
Anyone else able to assist?
Cheers,
I'm not sure what can be done in the Java library to control or turn off
indenting.
Anyone else able to assist?
Cheers,
Berin
Jorge Martín Cuervo wrote:
Hi Berin,
Maybe for me, a solution would be eliminate all line feeds and carriage
returns in the Signature element. So, the xml c
Hi Berin,
Maybe for me, a solution would be eliminate all line feeds and carriage
returns in the Signature element. So, the xml can be indented and before
the validation i can clean up again this LF/CR.
is it posible? is there any posibility to configure the API like this?
thanks again!
El ma
You need to do your indenting before you sign, which means you can
really only indent your own XML prior to attaching the signature node.
The library handles the indenting of the elements. Off the
top of my head I'm not sure how much control you can have of that for
the Java library. For the
Hola Raul
i understand, but after check the xml files used in the samples i found
several like this in merlin directory:
http://www.w3.org/2000/09/xmldsig#";>
http://www.w3.org/TR/2001/REC-xml-c14n-20010315"; />
http://www.w3.org/2000/09/xmldsig#rsa-sha1"; />
http://www.w3.org/TR/
Hola Jorge,
Sorry no luck, If you change the signature it will be void. No matter what
books have told, spaces are an important part of the XML. And it means a
lot. You cannot change it without changing the signature.
Regards,
Raul
On 12 Feb 2007 12:00:20 +0100, Jorge Martín Cuervo <
[EMAIL PR
Monday, February 12, 2007 10:00 PM
> To: security-dev@xml.apache.org
> Subject: signature elements indent
>
>
> Hi all,
>
> I want to create a signature inside an xml file, i use several
> transforms to get a portion of the original xml with xpath, and to
> canonize. I decided t
Hi all,
I want to create a signature inside an xml file, i use several
transforms to get a portion of the original xml with xpath, and to
canonize. I decided to don't attach the public keys.
http://defactops.com";
xmlns:hr="http://ns.hr-xml.org/2004-08-02";
xmlns:xs="http://www.w3.org/2001/X
10 matches
Mail list logo