Re: [javaCompiler-users] Support for javax.crypto
Status: Beta
Brought to you by:
soapy
From: Marco T. <mt...@gm...> - 2006-11-02 22:38:52
|
Matt Gressek wrote: > I'm experimenting with javaCompiler 0.8 and am getting an exception thrown when I invoke javax.crypto classes. > > DESKeySpec desKeySpec = new DESKeySpec(_key.toString().getBytes()); <--doesn't throw exception > > SecretKeyFactory keyFactory = SecretKeyFactory.getInstance("DES"); <-throws exception > > Is this a known issue? Yes. JCE is completely useless with v0.8. I just recently fixed it... > If so, when might it be resolved? I'm currently working on v0.9 but can't say anything definite. But I expect it to be released in November. > are there workarounds? Depends... If you consider importing GNU classpath into GCJ and recrosscompile GCJ, then yes. If you need it really urgent, we might organize something... Send me a private mail... Marco |