santuario-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Mullan <Sean.Mul...@Sun.COM>
Subject Re: XMLSignatureException: The algorithm http://www.w3.org/2000/09/xmldsig#rsa-sha1 does not exist
Date Wed, 20 Jul 2005 17:31:01 GMT
Paolo wrote:
> Hi gurus,
> 
> I developing a Servlet on SAP Web AS 6.40 SP 11, but when I try to sign my XML 
> message I get this error:
> 
> org.apache.xml.security.signature.XMLSignatureException: The requested 
> algorithm http://www.w3.org/2000/09/xmldsig\#rsa-sha1 does not exist. 
					     ^

The algorithm above has a typo, remove the '\'.

--Sean

Original
> Message was: null
> Original Exception was java.lang.NullPointerException#
>  at org.apache.xml.security.algorithms.SignatureAlgorithm.<init>
> (SignatureAlgorithm.java:148)#
>  at org.apache.xml.security.signature.SignedInfo.<init>(SignedInfo.java:154)#
>  at org.apache.xml.security.signature.XMLSignature.<init>(XMLSignature.java:236)
> #
>  at org.apache.xml.security.signature.XMLSignature.<init>(XMLSignature.java:214)
> #
>  at org.sourceid.sso.util.SAMLUtils.sign(SAMLUtils.java:80)#
>  .....
> 
> Do you have any idea?
> 
> Best Regards,
> Paolo
> 


Mime
View raw message