Hi, I'm trying to use the java.security.KeyPairGenerator via JRuby 1.7 RC2 as per the following code:
require 'java' kp = java.security.KeyPairGenerator.getInstance("RSA") puts kp #java.security.KeyPairGenerator$Delegate@45f177b However, when I try to call initialize i.e. kp.initialize(2048) I get the following exception:- TypeError: no public constructors for #<Class:0x7efe8e7a> Any suggestions would be very much appreciated. Best Regards, Carl