santuario-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dennis <dct...@yahoo.co.uk>
Subject Re: XMLSignature.sign() NullPointerException
Date Mon, 10 Nov 2008 12:33:58 GMT
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





Mime
View raw message