Well to sort of answer my own question here, this works in JRuby 1.7 RC2 but
not in 1.6.8.
kstore.load(FileInputStream.new("example.jks"),
String.new("password").toCharArray)
Problem is the BC libs don't so I'm sort of stuck between a rock and a hard
place ;-)
On 18 Oct 2012, at 14:35, Carl Bourne <[email protected]> wrote:
> Hi there,
>
> I think I've hit another JRuby namespace confict.
>
> e.g.
>
> kstore = KeyStore.getInstance("JKS")
> kstore.load(FileInputStream.new("example.jks"), "password".toCharArray)
>
> NameError: no method 'load' for arguments (java.io.FileInputStream) on
> Java::JavaSecurity::KeyStore
>
> I tried using kstore.method__load and kstore.java_send :load but neither of
> these work.
>
> As always, any suggestions appreciated.
>
> Carl
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
> http://xircles.codehaus.org/manage_email
>
>
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email