Re: Verify signature: bad for enveloped, ok for enveloping and detached.

2005-02-02 Thread def abc
--- Sean Mullan <[EMAIL PROTECTED]> a écrit : > Close, but you are still creating a detached > signature since the file: > URI is over content that is external to the document > containing the > signature element. Change your Reference URI to "". Okay, I understand the problem: the URI of my r

Re: Verify signature: bad for enveloped, ok for enveloping and detached.

2005-02-02 Thread Sean Mullan
Close, but you are still creating a detached signature since the file: URI is over content that is external to the document containing the signature element. Change your Reference URI to "". --Sean def abc wrote: --- Jesse Pelton <[EMAIL PROTECTED]> a écrit : You need to include the enveloped

RE: Verify signature: bad for enveloped, ok for enveloping and detached.

2005-02-02 Thread Jesse Pelton
While I'm familiar with the XML Signature standard, I'm new to this particular implementation, so I hope someone else can help you out with the particulars. I'm still wrestling with getting it to build in my environment. > -Original Message- > From: def abc [mailto:[EMAIL PROTECTED] >

RE: Verify signature: bad for enveloped, ok for enveloping and detached.

2005-02-02 Thread def abc
--- Jesse Pelton <[EMAIL PROTECTED]> a écrit : > You need to include the enveloped signature > transformation specifically. This serves to remove > the signature element from the document before > signing and verification. This is required because > the signature element changes during signing;

RE: Verify signature: bad for enveloped, ok for enveloping and detached.

2005-02-02 Thread Jesse Pelton
You need to include the enveloped signature transformation specifically. This serves to remove the signature element from the document before signing and verification. This is required because the signature element changes during signing; if the original signature element were part of the sign

Re: Verify signature: bad for enveloped, ok for enveloping and detached.

2005-02-02 Thread def abc
--- Raul Benito <[EMAIL PROTECTED]> a écrit : > Does you add enveloped-signature-transformation? > It is need to enveloped signatures. If not it will > fail. Not sure to understand... My signed XML does have a transformation (c14n) -- see below. Do you mean I should apply a transformation to the

Re: Verify signature: bad for enveloped, ok for enveloping and detached.

2005-02-02 Thread Raul Benito
Does you add enveloped-signature-transformation? It is need to enveloped signatures. If not it will fail. Regards, Raul http://r-bg.com On Wed, 2 Feb 2005 10:29:57 +0100 (CET), def abc <[EMAIL PROTECTED]> wrote: > Hi again... > And now I'm trying to validate my signatures. I've > built three si

Verify signature: bad for enveloped, ok for enveloping and detached.

2005-02-02 Thread def abc
Hi again... And now I'm trying to validate my signatures. I've built three signatures: a enveloped one, a detached one and an enveloping one. All on the same document. They all have the same SignatureValue, that's a good starting point :-) The detached and the enveloping signature verify okay, but

Re: Enveloping signature: wrong document err.

2005-02-02 Thread def abc
Raul, Heiner, Bonjour :-) Thanks very much for your help: I now have a beautiful enveloping signature :-) Thanks too for the link to the CreateEnveloping sample. I was using the AxisSigner but hadn't seen that other example ! BTW, as for the intent, it's just to try out this API. I'm (quite) famil