Sean Mullan <Sean.Mullan <at> Sun.COM> writes: > > 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 setting a property on the > XMLSignContext object, ex: > > signContext.setProperty > ("org.jcp.xml.dsig.internal.dom.SignatureProvider", new MyProvider()); > > --Sean >
Sean, thanks for the quick response, I'll give that a go when I'm working on that area again later this week, regards Dennis