santuario-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Bishop <bisho...@gmail.com>
Subject Re: Resolver Issues with Enveloped Signature?
Date Wed, 09 Mar 2011 15:00:42 GMT
OK, this is now issue 265 in the Santuario project.  I attached a test case
and the certificate I'm using for the test.  Thanks for checking into it.

Michael

On Wed, Mar 9, 2011 at 4:47 AM, Colm O hEigeartaigh <coheigea@apache.org>wrote:

> Can you create a test-case and attach it to JIRA and I'll take a look?
>
> Thanks,
>
> Colm.
>
> On Tue, Mar 8, 2011 at 8:57 PM, Michael Bishop <bishopmw@gmail.com> wrote:
> > Hello,
> >
> > I'm having a problem with created an enveloped signature.  I was able to
> > create an enveloping signature just fine, but the enveloped signature
> hangs
> > on the XMLSignature.sign(privateKey) method for a long time, before
> throwing
> > an error.
> >
> > I was able to figure out what the error was; by default, the
> > XMLSignature.sign(privateKey) method was trying to access
> > http://www.w3.org/2000/09/xmldsig#rsa-sha1 and failing.  I can pull that
> up
> > in my browser, so I don't know why it's hanging there.  I didn't have
> this
> > issue with an enveloping signature.
> >
> > I wrote an extension of ResourceResolverSpi and mapped
> > http://www.w3.org/2000/09/xmldsig#rsa-sha1 to point to the schema
> included
> > in the XML Security JAR file.  That works fine, but I'm wondering what
> the
> > best solution is, and why enveloped signatures need to access this URL at
> > all?
> >
> > I can provide code as needed if it's necessary.
> >
> > Thanks,
> >
> > Michael Bishop
> >
>

Mime
View raw message