santuario-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Schulz <te...@edos.org>
Subject Re: XMLDigitalSignature fails
Date Thu, 28 Jul 2005 20:32:27 GMT
On Thu, 2005-07-28 at 22:04 +0200, Stefan Schulz wrote:

Some corrections to the code *sigh*

1) Lost one line in copy & paste. Add a

import static org.apache.xml.security.signature.XMLSignature.*;

> import java.io.ByteArrayInputStream;
> import java.io.ByteArrayOutputStream;
> import java.security.PrivateKey;
> import java.security.PublicKey;
> [...]
>             if (pub == null){ // no definite PK, use provided PK of
> signature

This should obviously be part of the comment. Linewrapping got me here.

-- 
You can't run away forever,
But there's nothing wrong with getting a good head start.
           --- Jim Steinman, "Rock and Roll Dreams Come Through"
                   



Mime
View raw message