XMLSignature.sign() NullPointerException

2008-11-06 Thread Dennis
Hi, I am using the Apache XML Digital Signature RI to sign SAML 2.0 messages and using a Safenet HSM. My code looks OK until it gets to the point of signing when I get a null pointer exception. 08/11/06 14:20:03 java.lang.NullPointerException 08/11/06 14:20:03 at com.sun.net.ssl.inte

Re: XMLSignature.sign() NullPointerException

2008-11-06 Thread Sean Mullan
There are some use cases where using an unextractable private key results in errors like this. See https://issues.apache.org/bugzilla/show_bug.cgi?id=43056 for more info. If this is the case, you must explicitly specify the java.security.Signature Provider that works with your Safenet HSM by s