/Before using the Crypt
Security.addProvider("rsa-sha1");

Add the provider dynamically rather than statically.
Make sure on the java.security file on your JDK14 installation
directory the below line is listed.
security.provider.3=com.sun.rsajca.Provider.

If you are using the apache xml security Xalan.jar should be under
JAVA_HOME/jre/lib/endorsed.

On 7/20/05, Paolo <[EMAIL PROTECTED]> 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. 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
> 
> 


-- 
Thanks,
Raghu Konala
Cell: 913 579 3663

Reply via email to