Excuse me,
I haven't time to look in too much detail to your code, so perhaps
some questions are stupid ones:
but why are you using offlineresolver without calling any register?.
What do you want: a detach signature(i.e. one that signs a
external document that it doesn't contain) or just an enveloping
signature?, and then why are you using enveloped transformations?
Regards,
p.s.
just for clarity
enveloped signatures are: <thing to sign><signature/></thing to sign>,
enveloping signatures are:<signature><thing to sign/></signature>
On 5/18/05, Carolyn Cole <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I am currently trying to upgrade from XML Security 1.1.1 to XML Security
> 1.2.1.
>
> My code that previously worked to insert and enveloped signature and verify
> that signature in 1.1.1 now does not work.
>
> I have attached the code, which I built from the samples: UAIMSecurity.java.
>
> I have noted that the code runs under 1.2.1 if the xml does not include a
> name space.
>
> The other item I noted in the debug I have attached is that 1.1.1 uses my
> bouncy castle provider. 1.2.1 for some reason uses Sun's provider.
>
> The only difference when I run the programs is the XML security jars.
>
> I am actually using the 1.2.1 data files for the 1.1.1 run as well as the
> 1.2.1 run.
>
> Does anyone have any ideas on how to get 1.2.1 running?
>
> Any help would be appreciated.
>
> Thanks!
>
> -- Carolyn
>
>
>
>
>
--
http://r-bg.com