I've no idea. Could you supply a test-case? Colm.
On Thu, Nov 18, 2010 at 9:22 AM, jeffmo <[email protected]> wrote: > > I have an issue with CryptoFactory that makes me think that I must be using > it incorrectly. > > > If I have the following code segment, everything works fine: > > Crypto creds = CryptoFactory.getInstance("my.info.p12"); > > But if I repeat the call to CryptoFactory, like this: > > Crypto creds = CryptoFactory.getInstance("my.info.p12"); > creds = CryptoFactory.getInstance("my.info.p12"); > > I get either an "Illegal Key Length" exception at the second call. > > If I've installed the US unlimited key length jar files from Sun > (local_policy.jar and US_export_policy.jar), then I get a "General security > error (No certificates for user 1 were found for signature)" when I go to > sign the envelope. > > To repeat, if I remove the second call to CryptoFactory, everything works > fine. > > Any suggestions about what I might be doing wrong? > > Thanks! > Jeff > > > -- > View this message in context: > http://old.nabble.com/Problem-with-CryptoFactory-tp30239748p30239748.html > Sent from the WSS4J mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
